# cli/cli SLOC report

> As of 2026-09-02 (commit 71eac351e185), cli/cli contains 279,652 total lines: 238,069 code, 15,107 comments, 26,476 blank, across 946 files in 12 languages (top: Go 99.7%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

cli/cli has 238,069 source lines of code out of 279,652 total lines across 946 files, counted from the trunk ref at commit 71eac351e185 by the OctoCounts tokei engine on 2026-09-02. The report is cached by commit, tokei version, and analysis options, so recounting the same revision returns exactly these numbers.

OctoCounts produced this report by resolving cli/cli to commit 71eac351e185, downloading the repository source archive, and counting every source file 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, so counting the same revision again reproduces exactly these numbers.

## Repository size insights

This is a large codebase by counted code lines. Code represents 85.1% of all lines, comments represent 5.4%, and the repository averages 252 code lines per file. Go accounts for 99.7% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Go | 908 | 276,450 | 237,241 | 13,536 | 25,673 |
| BASH | 5 | 292 | 223 | 34 | 35 |
| JSON | 3 | 219 | 219 | 0 | 0 |
| Makefile | 1 | 124 | 95 | 8 | 21 |
| Zsh | 1 | 129 | 92 | 15 | 22 |
| PowerShell | 2 | 92 | 74 | 2 | 16 |
| Protocol Buffers | 3 | 66 | 50 | 0 | 16 |
| Shell | 4 | 86 | 41 | 31 | 14 |
| YAML | 2 | 35 | 33 | 0 | 2 |
| Batch | 1 | 1 | 1 | 0 | 0 |
| Markdown | 8 | 1,134 | 0 | 739 | 395 |
| Plain Text | 8 | 1,024 | 0 | 742 | 282 |

Top language (Go 99.7%). Generated at 2026-09-02T12:07:10.067869603+00:00. Canonical report: https://octocounts.com/github/cli/cli

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/cli/cli/commit/71eac351e185b08ed5ac679a65bff4a654fae6cd?analysis=%7B%22ignoredDirs%22%3A%5B%5D%2C%22ignoredLanguages%22%3A%5B%5D%2C%22profile%22%3A%22default%22%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22includeGenerated%22%3Afalse%7D).

## Report FAQ

### How many lines of code does cli/cli have?

cli/cli has 279,652 total lines, including 238,069 code lines, 15,107 comment lines, and 26,476 blank lines.

### How was the cli/cli line count measured?

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

### What commit was counted for cli/cli?

This OctoCounts report was generated from trunk at commit 71eac351e185 on 2026-09-02T12:07:10.067869603+00:00.

## Similar repository reports

- [tracewayapp/traceway](https://octocounts.com/github/tracewayapp/traceway) — Go, 234,338 code lines
- [0xJacky/nginx-ui](https://octocounts.com/github/0xJacky/nginx-ui) — Go, 245,093 code lines
- [JuliusBrussee/caveman](https://octocounts.com/github/JuliusBrussee/caveman) — Go, 218,045 code lines
- [blitzy-public-samples/tidepool-platform](https://octocounts.com/github/blitzy-public-samples/tidepool-platform) — Go, 261,154 code lines
- [Codeberg-org/gitea](https://octocounts.com/github/Codeberg-org/gitea) — Go, 266,516 code lines
- [golang/tools](https://octocounts.com/github/golang/tools) — Go, 267,434 code lines

## Related OctoCounts pages

- [Recently analyzed repositories](https://octocounts.com/recent)
- [Popular SLOC reports](https://octocounts.com/popular)
- [Trending GitHub repositories](https://octocounts.com/trending)
- [Hall of Monoliths](https://octocounts.com/hall-of-monoliths)
- [Rust vs Go](https://octocounts.com/compare/rust-vs-go)
- [Deno vs Node.js](https://octocounts.com/compare/deno-vs-node)
- [Kubernetes vs Terraform](https://octocounts.com/compare/kubernetes-vs-terraform)
- [GitHub SLOC counter guide](https://octocounts.com/docs/github-sloc-counter)
- [Counting methodology](https://octocounts.com/docs/methodology)
- [SLOC and code metrics glossary](https://octocounts.com/docs/glossary)
- [Original research: how filtering changes SLOC counts](https://octocounts.com/research)
- [OctoCounts API docs](https://octocounts.com/docs/api)
