@tufjs/cli
TypeScript icon, indicating that this package has built-in type declarations

0.2.5 • Public • Published

@tufjs/cli

CLI for securely downloading targets from TUF repositories.

Usage

$ 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
...

Commands

tuf download-target

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

tuf help [COMMAND]

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.

Readme

Keywords

Package Sidebar

Install

npm i @tufjs/cli

Weekly Downloads

32

Version

0.2.5

License

MIT

Unpacked Size

11.9 kB

Total Files

9

Last publish

Collaborators

  • eugenethehub
  • bdehamer