Skip to content
This repository has been archived by the owner on May 26, 2023. It is now read-only.

Latest commit

 

History

History
46 lines (36 loc) · 2.8 KB

component-cli_component-archive.md

File metadata and controls

46 lines (36 loc) · 2.8 KB

component-cli component-archive

component-cli component-archive [component-archive-path] [ctf-path] [flags]

Options

  -a, --archive string                  path to the component archive directory
      --component-name string           name of the component
      --component-name-mapping string   [OPTIONAL] repository context name mapping (default "urlPath")
  -c, --component-ref stringArray       path to component references definition
      --component-version string        version of the component
      --format CAOutputFormat           archive format of the component archive. Can be "tar" or "tgz" (default tar)
  -h, --help                            help for component-archive
      --repo-ctx string                 [OPTIONAL] repository context url for component to upload. The repository url will be automatically added to the repository contexts.
  -r, --resources stringArray           path to resources definition
  -s, --sources stringArray             path to sources definition
      --temp-dir string                 temporary directory where the component archive is build. Defaults to a os-specific temp dir

Options inherited from parent commands

      --cli                  logger runs as cli logger. enables cli logging
      --dev                  enable development logging which result in console encoding, enabled stacktrace and enabled caller
      --disable-caller       disable the caller of logs (default true)
      --disable-stacktrace   disable the stacktrace of error logs (default true)
      --disable-timestamp    disable timestamp output (default true)
  -v, --verbosity int        number for the log level verbosity (default 1)

SEE ALSO