tokei工具,在Mac平台使用brew安装
brew install tokei
使用方法如下:
// 统计 foo 目录及子目录下的所有代码
$ tokei ./foo
// 统计除了 demo 及子目录下的所有代码
$ tokei ./foo --exclude demo
tokei工具,在Mac平台使用brew安装
brew install tokei
使用方法如下:
// 统计 foo 目录及子目录下的所有代码
$ tokei ./foo
// 统计除了 demo 及子目录下的所有代码
$ tokei ./foo --exclude demo
名言语句:应该在肩膀上长着自己的脑袋。