Artifacts

@flxbl-io/sfp artifacts

Manage artifacts for a project

  • @flxbl-io/sfp artifacts fetch

  • @flxbl-io/sfp artifacts promote

  • @flxbl-io/sfp artifacts query

@flxbl-io/sfp artifacts fetch

Fetch sfp artifacts from a NPM compatible registry using a release definition file

USAGE
  $ @flxbl-io/sfp artifacts fetch -d <value> [-p <value>] [--scope <value> [--npm | -f <value>]] [--npmrcpath <value>
    ] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]

FLAGS
  -d, --artifactdir=<value>        (required) [default: artifacts] Directory to save downloaded artifacts
  -f, --scriptpath=<value>         (Optional: no-NPM) Path to script that authenticates and downloads artifacts from the
                                   registry
  -p, --releasedefinition=<value>  Path to YAML file containing map of packages and package versions to download
      --loglevel=<option>          [default: info] logging level for this command invocation
                                   <options: trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL>
      --npm                        Download artifacts from a pre-authenticated private npm registry
      --npmrcpath=<value>          Path to .npmrc file used for authentication to registry. If left blank, defaults to
                                   home directory
      --scope=<value>              (required for NPM) User or Organisation scope of the NPM package

DESCRIPTION
  Fetch sfp artifacts from a NPM compatible registry using a release definition file

EXAMPLES
  $ sfp artifacts:fetch -p myreleasedefinition.yaml -f myscript.sh

  $ sfp artifacts:fetch -p myreleasedefinition.yaml --npm --scope myscope --npmrcpath path/to/.npmrc

See code: src/commands/artifacts/fetch.ts

@flxbl-io/sfp artifacts promote

Promotes artifacts predominantly for unlocked packages with code coverage greater than 75%

See code: src/commands/artifacts/promote.ts

@flxbl-io/sfp artifacts query

Fetch details about artifacts installed in a target org

See code: src/commands/artifacts/query.ts

Last updated