maton github release download

maton github release download [<tag>] [flags]

Download all release assets, or filter with –pattern (one or more glob expressions matched against the asset name). With no , --latest fetches the most recent non-prerelease.

Options

--clobber
Overwrite existing files at the destination
--connection <string>
Connection ID to route through (Maton-Connection header)
-D, --dir <string> (default ".")
Directory to write assets into
--dry-run
Print the request that would be sent without executing it
--format <string>
Output format: 'json' (default) or 'text' on supported commands
-q, --jq <expression>
Filter JSON output using a jq expression
--latest
Fetch the most recent non-prerelease release
--paginate
Follow next_cursor and concatenate all pages (list commands only)
--pattern <pattern>
Glob pattern(s) to match asset names
-R, --repo <owner/repo>
Target repository in owner/repo form (required)
--template <string>
Format JSON output using a Go template; see "maton help formatting"

Options inherited from parent commands

-p, --profile <string>
Profile to use for this invocation (overrides the active profile; also reads MATON_PROFILE)

Examples

$ maton github release download v1.0.0 --repo maton-ai/cli
$ maton github release download v1.0.0 --repo maton-ai/cli --pattern '*.tar.gz' --dir dist/
$ maton github release download --repo maton-ai/cli --latest

See also