Examples (4)
Count all the lines of code in a directory
cloc path/to/directoryCompare 2 directory structures and count the differences between them
cloc --diff path/to/directory1 path/to/directory2Ignore files that are ignored by VCS, such as files specified in `.gitignore`
Display the results for each file instead of each language
cloc --by-file path/to/directorymade by @shridhargupta | data from tldr-pages