An open API service indexing awesome lists of open source software.

https://github.com/umutphp/github-stats

Command-line tool to get the total traffic statistics of your GitHub repositories.
https://github.com/umutphp/github-stats

github go hacktoberfest

Last synced: 8 months ago
JSON representation

Command-line tool to get the total traffic statistics of your GitHub repositories.

Awesome Lists containing this project

README

          

# github-stats
Command-line tool to get the total traffic statistics of your GitHub repositories.

## How To Use

Statistics for today:
```bash
github-stats --token A_Valid_Personal_Access_Token
```

Statistics for last 7 days:
```bash
github-stats --token A_Valid_Personal_Access_Token --day 7
```

For details please use `--help` as argument;

```bash
$ go run main.go --help

NAME:
github-stats - Get the total visit stats of your GitHub repositories
USAGE:
github-stats [global options]
VERSION:
0.0.2
AUTHOR:
Umut Işık
OPTIONS:
--day value, -d value The number of days from today to show the stats (default: 0)
--show-details value, -s value Show detailed output or not. 0 to close. Default is 1 (default: 1)
--token value, -t value Personal access token got from GitHub to use the API
--help, -h show help (default: false)
--version, -v print the version (default: false)
```

## How To Contribute

All kind of contributions are ok for me :).