pipeline version
get-template
Returns code (YAML template, Orchestration Flow JSON embedded in a string) that contains the specified pipeline version's description, parameters, and metadata. You must specify either project_id or space_id.
Syntax
cpd-cli pipeline version
get-template \
--version-id=<version-guid> \
[--format=<pipeline-format>] \
[--project-id=<project-id>] \
[--space-id=<space-identifier>]
Options
Table 1: Command options
| Option | Description |
|---|---|
--format |
The format of the code to
retrieve.
|
--project-id |
Specify an IBM Software Hub
project instance.
|
--space-id |
Specify a space
identifier.
|
--version-id |
Specify the version
GUID.
|