Skip to content

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

License

Notifications You must be signed in to change notification settings

Blad3Mak3r/ghrd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Topics

Resources

License

Stars

Watchers

Forks