Tool written in Go that counts lines of code.
More information.
- Print lines of code in the current directory:
- Print lines of code in the target directory:
- Display output for every file:
- Display output using a specific output format (defaults to `tabular`):
scc --format {tabular|wide|json|csv|cloc-yaml|html|html-table}
- Only count files with specific file extensions:
scc --include-ext {go, java, js}
- Exclude directories from being counted:
scc --exclude-dir {.git,.hg}
- Display output and sort by column (defaults to by files):
scc --sort {files|name|lines|blanks|code|comments|complexity}
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).
CC-BY