diff --git a/pages/common/tokei.md b/pages/common/tokei.md new file mode 100644 index 0000000000..2090b2d863 --- /dev/null +++ b/pages/common/tokei.md @@ -0,0 +1,19 @@ +# 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}}`