如何快速统计代码量?

/ 0评 / 0

tokei工具,在Mac平台使用brew安装

brew install tokei

使用方法如下:

// 统计 foo 目录及子目录下的所有代码
$ tokei ./foo
// 统计除了 demo 及子目录下的所有代码
$ tokei ./foo --exclude demo

名言语句:有志者,事竟成。

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注