Open joseluisq opened 6 years ago
This would be awesome. I'd also lobby for having the ability to not obey .gitignore, and the ability to obey a special .clocignore file. (Basically, what fd does: https://github.com/sharkdp/fd)
I'd need this badly to find out exactly how productive I am as a software developer. Its a kind of gamification for me, so I can set targets of writing 100 LOC each day
We came across gocloc
and had the same need - it turns out git ls-files -z | xargs -0 gocloc
works very well, and handles filenames with spaces just fine.
Credit to: Stack Overflow and cloc Issue #49.
It would be great if
gocloc
could skip files explicitly excluded by a versioning tool like git via.gitignore
file.