cloc: add --by-file example (#4129)

client-spec/clarity
bagginslin 2020-06-27 12:25:57 +00:00 committed by GitHub
parent d8e6c7e11f
commit 7eddc00f20
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -18,3 +18,7 @@
- Ignore files that are ignored by VCS, such as files specified in .gitignore:
`cloc --vcs git {{path/to/directory}}`
- Count all the lines of code in a directory, displaying the results for each file instead of each language:
`cloc --by-file {{path/to/directory}}`