GHRD is a CLI that allows you to download an artifact from the latest release of a repository on GitHub.
Download the latest release from here into your computer.
To download releases from GitHub Releases you need the following things:
- Owner: the owner of the repository (
--owner Blad3Mak3r
). - Repository: the name of the repository (
--repo ghrd
). - Artifact: the name of the artifact to download with extension (
--artifact ghrd-x86_64.exe
or--artifact ghrd-i386-linux
). - GPA Token: the GitHub Personal Access Token to authenticate the necesary requests to download the artifact (
--token ghp_xxxxx
).
Now you have to modes to execute the CLI:
./ghrd --owner Blad3Mak3r --repo ghrd --artifact ghrd-x86_64-darwin --token ghp_xxxxx
Put arguments directly on the same line.
./ghrd --prompt
The script will ask for arguments that where not defined.
./ghrd --token ghp_xxxxx --prompt
Only will ask for --owner, --repo and --artifact.
./ghrd --help
- Windows i386
- Windows amd64
- Windows ARM arch64(
comming soon
) - Linux i386
- Linux amd64
- Linux ARM arch64(
comming soon
) - MacOS amd64
- MacOS ARM arch64(
comming soon
)