tldr/pages/common/tokei.md
2018-12-01 18:02:56 +00:00

452 B

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