tldr/pages/common/tokei.md
2019-05-14 14:58:59 -03:00

528 B

tokei

A program that prints out statistics about code. Homepage: 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}}