go-git-stats
CLI tool for git statistics
COMMANDS
repo
Get all repositories.
# When Github access token is set to GGS_TOKEN (environment variable)
$ echo $GGS_TOKEN
> ghq_....
# Repositories for authenticated user with Github access token
$ ggs repo
# abbreviation command
$ ggs r
# Public repositories without Github access token
$ ggs repo -name kokoichi206
$ ggs r -n kokoichi206
stats
Get statistics of a specific repository.
# You need to set Github access token to GGS_TOKEN (environment variable)
# if you want to get private repopsitory stats.
$ echo $GGS_TOKEN
> ghq_....
$ ggs stats -name kokoichi206/go-git-stats
# abbreviation command
$ ggs s -name kokoichi206/go-git-stats
lines
Get lines of codes you wrote before.
# You need to set Github access token to GGS_TOKEN (environment variable)
# if you want to get private repopsitory stats.
$ echo $GGS_TOKEN
> ghq_....
# with access token
$ ggs lines
> 11930741
$ ggs lines -name kokoichi206
> 10452117
# abbreviation command
$ ggs l -n kokoichi206
> 10452117
INSTALLATION
Built binaries are available from GitHub Releases.
https://github.com/kokoichi206/go-git-stats/releases
LICENSE
under MIT License.