Skip to Main content

tuyen github download

Download a release asset from a GitHub repository

Usage

tuyen github download [OPTIONS] --owner <OWNER> --repo <REPO> --pattern <PATTERN> --output <OUTPUT>

Options

--owner <OWNER>

GitHub repository owner (user or organization)

--repo <REPO>

GitHub repository name

--tag <TAG>

Release tag to download from (e.g. "v1.2.3")

--latest <LATEST>

Download from the latest release instead of a specific tag
Possible values: true, false

--pattern <PATTERN>

Glob pattern to match the release asset filename (e.g. "*-linux-x64.tar.gz")

--output <OUTPUT>

File path to save the downloaded asset

--extract <EXTRACT>

Comma-separated list of files to extract from the downloaded archive

--token <TOKEN>

GitHub personal access token for private repositories or rate-limited requests

-h, --help

Print help.