dra
Download GitHub release assets from the command line
TLDR
Download assets from the latest release
$ dra download [owner/repo]
Select asset interactively$ dra download -s [owner/repo]
Download a specific tag$ dra download -t [v1.2.3] [owner/repo]
Install a binary asset into a directory$ dra download -i [~/.local/bin] [owner/repo]
SYNOPSIS
dra *command* [*options*] [*repo*]
DESCRIPTION
dra (Download Release Assets) fetches files attached to GitHub Releases. It can list or download the latest or a tagged release, filter assets by name/pattern, and optionally install executables into a destination directory—handy for bootstrapping tools not yet packaged by your distro.
PARAMETERS
download [*owner/repo*]
Download release asset(s). Repo can also be a GitHub URL.-t, --tag *tag*
Release tag (default: latest).-s, --select
Interactive asset selection.-a, --asset *pattern*
Asset name/pattern filter.-i, --install *dir*
Install downloaded binary to *dir*.--source / authentication flags
Use GitHub API with token when rate-limited (GITHUB_TOKEN / flags per --help).
INSTALL
sudo pacman -S dra
brew install dra
CAVEATS
Subject to GitHub API rate limits; set a token for private repos or heavy use. Always verify checksums of downloaded binaries when available.
