mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-11-12 04:54:52 +03:00
21 lines
536 B
Markdown
21 lines
536 B
Markdown
# tokei
|
|
|
|
> A program that prints out statistics about code.
|
|
> More information: <https://github.com/XAMPPRocky/tokei>.
|
|
|
|
- Get a report on the code in a directory and all subdirectories:
|
|
|
|
`tokei {{path/to/directory}}`
|
|
|
|
- Get a report for a directory excluding `.min.js` files:
|
|
|
|
`tokei {{path/to/directory}} -e {{*.min.js}}`
|
|
|
|
- Print out statistics for individual files in a directory:
|
|
|
|
`tokei {{path/to/directory}} --files`
|
|
|
|
- Get a report for all files of type Rust and Markdown:
|
|
|
|
`tokei {{path/to/directory}} -t={{Rust}},{{Markdown}}`
|