ghdl
A simple cli tool for working out how many times your github release assets have been downloaded in total.
You must use auth for private repositories
Installation
go get github.com/jakehl/ghdl
Usage
Usage: ghdl [--username USERNAME] [--password PASSWORD] [--oauth OAUTH] [--terse] OWNER REPO
Positional arguments:
OWNER Repository owner
REPO Repository name
Options:
--username USERNAME, -u USERNAME
Username for authenticated requests
--password PASSWORD, -p PASSWORD
Password for authenticated requests, if you have 2fa, use a Personal Access Token
--oauth OAUTH, -a OAUTH
OAuth token for authenticated requests, you can also use a Personal Access Token
--terse, -t Minimal output mode
--help, -h display this help and exit
Example
ghdl JakeHL ghdl
output
Fetching release downloads for https://github.com/JakeHL/ghdl
Assets have been downloaded 1994 times