A AhaTools

Code Lines

Count code without installing anything.

Run it at a Git repository root. It counts source and engineering files, while excluding dependencies, generated files, build output, and coverage by default.

bash <(curl -fsSL tools.ahaknow.com/scripts/code-lines.sh)
curl -fsSL https://tools.ahaknow.com/scripts/code-lines.sh -o /tmp/code-lines.sh
less /tmp/code-lines.sh
bash /tmp/code-lines.sh