mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-28 11:35:27 +02:00
20 lines
567 B
Markdown
20 lines
567 B
Markdown
# tokei
|
|
|
|
> Display statistics about code.
|
|
> More information: <https://github.com/XAMPPRocky/tokei>.
|
|
|
|
- Display a report for the code in a directory and all subdirectories:
|
|
|
|
`tokei {{path/to/directory}}`
|
|
|
|
- Display a report for a directory excluding `.min.js` files:
|
|
|
|
`tokei {{path/to/directory}} {{[-e|--exclude]}} {{*.min.js}}`
|
|
|
|
- Display statistics for individual files in a directory:
|
|
|
|
`tokei {{path/to/directory}} {{[-f|--files]}}`
|
|
|
|
- Display a report for all files of type Rust and Markdown:
|
|
|
|
`tokei {{path/to/directory}} {{[-t|--type]}} {{Rust}},{{Markdown}}`
|