mirror of https://github.com/CrimsonTome/tldr.git
cloc: add --by-file example (#4129)
parent
d8e6c7e11f
commit
7eddc00f20
|
@ -18,3 +18,7 @@
|
||||||
- Ignore files that are ignored by VCS, such as files specified in .gitignore:
|
- Ignore files that are ignored by VCS, such as files specified in .gitignore:
|
||||||
|
|
||||||
`cloc --vcs git {{path/to/directory}}`
|
`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}}`
|
||||||
|
|
Loading…
Reference in New Issue