@npmcli/provenance-cli
v0.0.3
Published
Generate SLSA provenance
Downloads
9
Readme
@npmcli/provenance-cli
CLI for generating SLSA provenance on GitHub Actions and GitLab CI.
Usage
$ npm install -g @npmcli/provenance-cli
$ provenance COMMAND
running command...
$ provenance (--version)
@npmcli/provenance-cli/0.0.3 linux-x64 node-v18.17.0
$ provenance --help [COMMAND]
USAGE
$ provenance COMMAND
...
Commands
provenance generate [SUBJECT-PATH]
Generate SLSA provenance statement on supported cloud CI/CD vendors.
USAGE
$ provenance generate [SUBJECT-PATH] [--subject-name <value>] [--subject-digest <value>] [-o <value>]
ARGUMENTS
SUBJECT-PATH subject file to generate statement for
FLAGS
-o, --output-file=<value> write output to file
--subject-digest=<value> Subject digest to use in statement
--subject-name=<value> Subject name to use in statement
DESCRIPTION
Generate SLSA provenance statement on supported cloud CI/CD vendors.
EXAMPLES
$ provenance generate
provenance help [COMMANDS]
Display help for provenance.
USAGE
$ provenance help [COMMANDS] [-n]
ARGUMENTS
COMMANDS Command to show help for.
FLAGS
-n, --nested-commands Include all nested commands in the output.
DESCRIPTION
Display help for provenance.