2025-03-14 21:59:59 -06:00
|
|
|
# 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:
|
|
|
|
|
|
2025-05-08 12:26:01 -06:00
|
|
|
`tokei {{path/to/directory}} {{[-e|--exclude]}} {{*.min.js}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Display statistics for individual files in a directory:
|
|
|
|
|
|
2025-05-08 12:26:01 -06:00
|
|
|
`tokei {{path/to/directory}} {{[-f|--files]}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Display a report for all files of type Rust and Markdown:
|
|
|
|
|
|
2025-05-08 12:26:01 -06:00
|
|
|
`tokei {{path/to/directory}} {{[-t|--type]}} {{Rust}},{{Markdown}}`
|