1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 09:24:55 +02:00
tldr/pages/common/tokei.md
Marco Bonelli 2599a6de48 Refactor: change "folder" to "directory" where needed.
This commit fixes every instance in which the word "folder" is
incorrectly used instead of "directory".
2019-02-13 20:51:04 +05:30

477 B

tokei

A program that prints out statistics about code.

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