mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-15 16:55:44 +02:00
tokei: add page (#2545)
This commit is contained in:
parent
3c9e108c1a
commit
0642c84562
1 changed files with 19 additions and 0 deletions
19
pages/common/tokei.md
Normal file
19
pages/common/tokei.md
Normal file
|
@ -0,0 +1,19 @@
|
|||
# tokei
|
||||
|
||||
> A program that prints out statistics about code.
|
||||
|
||||
- Get a report on the code in a folder and all subfolders:
|
||||
|
||||
`tokei {{path/to/folder}}`
|
||||
|
||||
- Get a report for a folder excluding `.min.js` files:
|
||||
|
||||
`tokei {{path/to/folder}} -e {{*.min.js}}`
|
||||
|
||||
- Print out statistics for individual files in a folder:
|
||||
|
||||
`tokei {{path/to/folder}} --files`
|
||||
|
||||
- Get a report for all files of type Rust and Markdown:
|
||||
|
||||
`tokei {{path/to/folder}} -t={{Rust}},{{Markdown}}`
|
Loading…
Add table
Reference in a new issue