scc Command Examples

Count lines of code. Written in Go. More information: https://github.com/boyter/scc.

scc

scc {{path/to/directory}}

scc --by-file

scc --format {{tabular|wide|json|csv|cloc-yaml|html|html-table}}

scc --include-ext {{go,java,js}}

scc --exclude-dir {{.git,.hg}}

scc --sort {{files|name|lines|blanks|code|comments|complexity}}

scc -h