Skip to content

Latest commit

 

History

History
62 lines (41 loc) · 1.74 KB

ocm_create_componentarchive.md

File metadata and controls

62 lines (41 loc) · 1.74 KB

ocm create componentarchive — (DEPRECATED) Create New Component Archive

Synopsis

ocm create componentarchive [<options>] <component> <version> --provider <provider-name> {--provider <label>=<value>} {<label>=<value>}

Aliases

componentarchive, comparch, ca

Options

  -F, --file string            target file/directory (default "component-archive")
  -f, --force                  remove existing content
  -h, --help                   help for componentarchive
  -p, --provider stringArray   provider attribute
  -S, --scheme string          schema version (default "v2")
  -t, --type string            archive format (directory, tar, tgz) (default "directory")

Description

Create a new component archive. This might be either a directory prepared to host component version content or a tar/tgz file (see option --type).

A provider must be specified, additional provider labels are optional.

The --type option accepts a file format for the target archive to use. It is only evaluated if the target archive does not exist yet. The following formats are supported:

  • directory
  • tar
  • tgz

The default format is directory.

If the option --scheme is given, the specified component descriptor format is used/generated.

The following schema versions are supported for explicit conversions:

  • ocm.software/v3alpha1
  • v2 (default)

Examples

$ ocm create componentarchive --file myfirst --provider acme.org --provider [email protected] acme.org/demo 1.0

SEE ALSO

Parents

  • ocm create — Create transport or component archive
  • ocm — Open Component Model command line client