openai/openai-cli

openai/openai-cli has 439,824 source lines of code out of 475,335 total lines across 1,950 files, counted with tokei from the main ref at commit 7758d0617bba on November 14, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

As of 2026-11-14 (commit 7758d0617bba), openai/openai-cli contains 475,335 total lines: 439,824 code, 13,741 comments, 21,770 blank, across 1,950 files in 15 languages (top language: Go 64.9%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.

As of 2026-11-14 (commit 7758d0617bba), openai/openai-cli contains 475,335 total lines: 439,824 code, 13,741 comments, 21,770 blank, across 1,950 files in 15 languages (top language: Go 64.9%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.

OctoCounts produced this report by resolving openai/openai-cli to commit 7758d0617bba, downloading the repository source archive, and counting files selected by the effective rules with tokei, the open-source line counter written in Rust. The table below breaks the count down by programming language into files, total lines, code lines, comment lines, and blank lines, so the figures can be compared across languages and projects. Results are cached by commit, tokei version, and analysis options; an exact reproduction needs the same commit, engine version, and effective counting rules.

Repository size insights

This is a large codebase by counted code lines. Code represents 92.5% of all lines, comments represent 2.9%, and the repository averages 226 code lines per file. Go accounts for 64.9% of counted code.

LanguageFilesLinesCodeCommentsBlanks
Go1612309401285343831815740
YAML1110404109216171171
Python13531761284784622821
Shell8577477252298197
JSON102504250400
JavaScript16214219756998
PowerShell8201219177421
BASH2117481510100138
Zsh79098006544
Fish88617706130
HTML1373700
Batch1191900

Top language: Go 64.9%. Generated on .

Counting rules and retention

openai/openai-cli: tokei-15.0.0, policy directories-v1; docs excluded, tests excluded, generated excluded. Excluded directory names: .cache, .generated, .git, .next, __tests__, build, dist, doc, docs, documentation, fixtures, gen, generated, node_modules, target, test, tests, vendor. Ignored languages: none. Repository declarations: off. Exclusions are rule-based; they do not prove that every test, document or generated file was removed.

Saved reports remain subject to cache cleanup and replacement. Export the JSON or text for durable citation; live repository URLs can change.

Reproduce this report

Reproduce this exact report and configuration.

Report FAQ

How many lines of code does openai/openai-cli have?

openai/openai-cli has 439,824 lines of code, plus 13,741 comment lines and 21,770 blank lines, for 475,335 total lines at commit 7758d0617bba on November 14, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

How was the openai/openai-cli line count measured?

OctoCounts resolved the public GitHub repository to commit 7758d0617bba, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.

What commit was counted for openai/openai-cli?

This OctoCounts report was generated from main at commit 7758d0617bba on November 14, 2026.

Play the growth animation for openai/openai-cli on this page — 439,824 code lines across 15 languages, counted by tokei.