1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2024-10-31 05:57:56 +01:00
tldr/pages/common/tokei.md

536 B

tokei

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