airshipctl/docs/source/cli/airshipctl_phase_list.md
Niharika Bhavaraju 0cc7c9cafd [#358] Introduce Phase List command to output phase list(cmd module)
* Phase list command lists phases of current documentset/plan.
 airshipctl phase list
 airshipctl phase list --plan planName
 airshipctl phase list --plan planName -o table(default output)
 airshipctl phase list --plan planName -o yaml

Co-Authored-By: Niharika Bhavaraju <niha.twinkle@gmail.com>

Relates-To: #358

Change-Id: Iab3a6cdf5a25583ba3d01341da350841c9cc362d
2021-03-25 16:11:10 +00:00

1.2 KiB

airshipctl phase list

List phases

Synopsis

List life-cycle phases which were defined in document model by group. Phases within a group are executed sequentially. Multiple phase groups are executed in parallel.

airshipctl phase list PHASE_NAME [flags]

Examples


# List phases of phasePlan
airshipctl phase list --plan phasePlan

# To output the contents to table (default operation)
airshipctl phase list --plan phasePlan -o table

# To output the contents to yaml
airshipctl phase list --plan phasePlan -o yaml

# List all phases
airshipctl phase list

# List phases with clustername
airshipctl phase list --cluster-name clustername

Options

  -c, --cluster-name string   filter documents by cluster name
  -h, --help                  help for list
  -o, --output string         'table' and 'yaml' are available output formats (default "table")
      --plan string           Plan name of a plan

Options inherited from parent commands

      --airshipconf string   Path to file for airshipctl configuration. (default "$HOME/.airship/config")
      --debug                enable verbose output

SEE ALSO