loc

loc

TLDR

Print lines of code in the current directory

$ loc
copy

Print lines of code in the target directory

$ loc [path/to/directory]
copy

Print lines of code with stats for individual files

$ loc --files
copy

Print lines of code without .gitignore (etc.) files (e.g. two -u flags will additionally count hidden files and dirs)

$ loc -u
copy

Copied to clipboard
Earn up to $40 for learning about crypto currencies