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, either a user or organization name.
  • Required: Yes.

--repo <REPO>

  • GitHub repository name.
  • Required: Yes.

--tag <TAG>

  • Release tag to download the asset from.

--latest <LATEST>

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

--pattern <PATTERN>

  • Glob pattern to match the release asset filename.
  • Required: Yes.

--output <OUTPUT>

  • File path to save the downloaded asset to.
  • Required: Yes.

--extract <EXTRACT>

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

--token <TOKEN>

  • GitHub personal access token for accessing private repositories or avoiding rate limits.

-h, --help

  • Print help.