tokei

Count your code quickly and accurately by language

Benchmark & Testing Rust 替代 cloc, sloccount

tokei is a program that displays statistics about your code. It shows the number of files, total lines, code, comments, and blanks grouped by language.

安装

brew brew install tokei
cargo cargo install tokei