scc
Count lines of code. tldr-pages
On several platforms
Several platforms
Count lines of code. Written in Go.
Print lines of code in the current directory
sccIdentifyPrint lines of code in the target directory
scc path/to/directoryIdentifyDisplay output for every file
scc --by-fileIdentifyDisplay output using a specific output format (defaults to tabular)
scc --format tabularIdentifyOnly count files with specific file extensions
scc --include-ext go,java,jsIdentifyExclude directories from being counted
scc --exclude-dir .git,.hgIdentifyDisplay output and sort by column (defaults to by files)
scc --sort filesIdentifyDisplay help
scc --helpIdentify