0.1.1 • Published 2 years ago
cj-code-counter v0.1.1
安装
$ npm install -g cj-code-counter / cnpm install -g cj-code-counter
使用
基础用法
$ cjcounter
导出到html
$ cjcounter -o
功能
- 输出空行,实际行数,总行数
- 支持400+语言
- 显示遍历速度
- 显示多种颜色
- 支持导出html
- 自定义统计路径
- 自定义忽略文件/目录
参数
Usage: index options
Options:
-V, --version output the version number
-i, --ignore [path] ignore path | <example> counter -i './dist,./src'
-p, --path [path] counter path | <example> counter -p './dist'
-o, --output ouput html | <example> counter -o
-h, --help output usage information