Options (4)
-f, --formatbooleanDisplay output using a specific output format (defaults to `tabular`)
Example:
scc {{[-f|--format]}} {{tabular|wide|json|csv|cloc-yaml|html|html-table}}-i, --include-extbooleanOnly count files with specific file extensions
Example:
scc {{[-i|--include-ext]}} {{go,java,js}}-s, --sortbooleanDisplay output and sort by column (defaults to by files)
Example:
scc {{[-s|--sort]}} {{files|name|lines|blanks|code|comments|complexity}}-h, --helpbooleanDisplay help
Example:
scc {{[-h|--help]}}Examples (8)
Print lines of code in the current directory
Print lines of code in the target directory
scc path/to/directoryDisplay output for every file
scc --by-fileDisplay output using a specific output format (defaults to `tabular`)
scc [-f|--format] tabular|wide|json|csv|cloc-yaml|html|html-tableOnly count files with specific file extensions
scc [-i|--include-ext] go,java,jsExclude directories from being counted
scc --exclude-dir .git,.hgDisplay output and sort by column (defaults to by files)
scc [-s|--sort] files|name|lines|blanks|code|comments|complexityDisplay help
scc [-h|--help]made by @shridhargupta | data from tldr-pages