Skip to content

Latest commit

 

History

History
50 lines (42 loc) · 1.81 KB

README.md

File metadata and controls

50 lines (42 loc) · 1.81 KB

GitHub Release Dowloader

GHRD is a CLI that allows you to download an artifact from the latest release of a repository on GitHub.

How to use

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:

Direct mode

./ghrd --owner Blad3Mak3r --repo ghrd --artifact ghrd-x86_64-darwin --token ghp_xxxxx

Put arguments directly on the same line.

Prompt mode

./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.

Help

./ghrd --help

Downloads