cloc
Count lines of code. More information: https://github.com/AlDanial/cloc#options-.
- Count all the lines of code in a directory:
cloc
- Compare 2 directory structures and count the differences between them:
cloc --diff
- Ignore files that are ignored by VCS, such as files specified in
.gitignore:
cloc --vcs git
- Display the results for each file instead of each language:
cloc --by-file
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
