CLI for securely downloading targets from TUF repositories.
$ npm install -g @tufjs/cli
$ tuf COMMAND
running command...
$ tuf (--version)
@tufjs/cli/0.2.5 linux-x64 node-v22.9.0
$ tuf --help [COMMAND]
USAGE
$ tuf COMMAND
...
download a target from a TUF repository and verify its signature
USAGE
$ tuf download-target --metadata-base-url <value> --target-name <value> [--cache-path <value>] [--target-base-url
<value>] [--root <value>] [--unsafe-root-download] [-o <value>]
FLAGS
-o, --output-file=<value> write output to file
--cache-path=<value> path to the Sigstore TUF cache
--metadata-base-url=<value> (required) URL to the TUF metadata repository
--root=<value> path to the initial trusted root
--target-base-url=<value> URL to the TUF target repository
--target-name=<value> (required) name of the target to download
--unsafe-root-download allow downloading the trusted root from the TUF metadata repository (THIS IS NOT
SAFE)
DESCRIPTION
download a target from a TUF repository and verify its signature
ALIASES
$ tuf download
EXAMPLES
$ tuf download-target
Display help for tuf.
USAGE
$ tuf help [COMMAND...] [-n]
ARGUMENTS
COMMAND... Command to show help for.
FLAGS
-n, --nested-commands Include all nested commands in the output.
DESCRIPTION
Display help for tuf.