pipeline version get-template-format

Returns code (YAML template or Orchestration Flow JSON) that contains the specified pipeline version's description, parameters, and metadata.

Syntax

cpd-cli pipeline version
get-template-format \
--format=<pipeline-format> \
--version-id=<version-guid> \
[--project-id=<project-id>] \
[--space-id=<space-identifier>] \

Options

Table 1: Command options
Option Description
--format The format of the code to retrieve.
Status
Required.
Syntax
--format=<pipeline-format>
Default value
The default value is template. Allowable values are template, flow, all.
Input type
string
--project-id Specify an IBM Software Hub project instance.
Status
Optional.
Syntax
--project-id=<project-id>
Default value
No default.
Input type
string
Valid values
A valid project identifier.
--space-id Specify a space identifier.
Status
Optional.
Syntax
--space-id=<space-identifier>
Default value
No default.
Input type
string
--version-id Specify the version GUID.
Status
Required.
Syntax
--version-id=<version-guid>
Default value
No default.
Input type
string