Skip to content

Latest commit

 

History

History

cli

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

@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.1 darwin-arm64 node-v18.17.1
$ provenance --help [COMMAND]
USAGE
  $ provenance COMMAND
...

Commands

provenance generate [SUBJECT-PATH]

Generate SLSA provenance information 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 information 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.