LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

dra

Download GitHub release assets from the command line

TLDR

Download assets from the latest release
$ dra download [owner/repo]
copy
Select asset interactively
$ dra download -s [owner/repo]
copy
Download a specific tag
$ dra download -t [v1.2.3] [owner/repo]
copy
Install a binary asset into a directory
$ dra download -i [~/.local/bin] [owner/repo]
copy

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
copy
brew install dra
copy

CAVEATS

Subject to GitHub API rate limits; set a token for private repos or heavy use. Always verify checksums of downloaded binaries when available.

SEE ALSO

gh(1), curl(1), wget(1)

RESOURCES

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid