Stats Cat 🐈
用Stats Cat来统计Git数据
Stats Cat🐈是一个CLI工具,用来获取你所有git仓库的统计数据。
安装
在安装Stats Cat之前,你需要确认你已经配置了Golang环境。
然后运行下面的命令即可:
go install github.com/z1cheng/statscat@latest
用法
Usage:
statscat [-d dir] [-a author] [--since since]
Examples:
statscat # get the statistics of all repositories in current directory
statscat -d /directory -a author --since 1.week # get the statistics of all repositories under /directory, author is author name, since is from 1 week ago
Flags:
-a, --author string author name to be calculated, default is all authors
-d, --dir string directory to be calculated, statscat will search recursively, default is current directory (default ".")
-h, --help help for statscat
--since string show stats more recent than a specific date