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.
- Host: GitHub
- URL: https://github.com/umutphp/github-stats
- Owner: umutphp
- License: mit
- Created: 2020-05-11T19:26:43.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-08-28T21:01:14.000Z (over 1 year ago)
- Last Synced: 2024-08-28T22:21:12.633Z (over 1 year ago)
- Topics: github, go, hacktoberfest
- Language: Go
- Homepage:
- Size: 25.4 KB
- Stars: 9
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- command-line-tools - github-stats - Command-line tool to get the total traffic statistics of your GitHub repositories. (Other)
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 :).