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 {{[-f|--format]}} {{tabular|wide|json|csv|cloc-yaml|html|html-table}}

scc {{[-i|--include-ext]}} {{go,java,js}}

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

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

scc {{[-h|--help]}}