Skip to content

rspm archive#

Command to archive a package in a source

Synopsis#

Command to archive a package in a source. Archiving a package will move the current version of a package to the archive while preserving existing versions in the archive. The archived package version will no longer be installed by default, but can still be downloaded from the archive.

rspm archive [flags]

Examples#

  rspm archive --name=[package name] --source=[source name]

Options#

  -h, --help            help for archive
      --name string     The name of the package.
      --source string   The name of the source.

Options inherited from parent commands#

  -a, --address string             The address of the remote server. If not specified, the PACKAGEMANAGER_ADDRESS environment variable is used.
  -c, --config string              Path to config file
      --insecure-ssl-skip-verify   If true, skip SSL certificate validation. This reduces the security that SSL normally provides.
  -o, --output-format string       Specify the output format 'human' for human-readable output or 'json' for JSON-encoded output. (default "human")
  -v, --verbose                    Provide additional output