tldr/pages/common/tokei.md

20 lines
452 B
Markdown

# 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}}`