airshipctl/docs/source/cli/airshipctl_cluster_list.md
Niharika Bhavaraju 1f90036413 [#323] Cluster list command to output in table/clusternames.
* airshipctl cluster list
* airshipctl cluster list -o table
* airshipctl cluster list -o name(lists cluster names)

Relates-To: #323
Change-Id: Ic4609b8e05984c14acf8f20053123423d5e0088a
2021-03-30 17:03:13 +05:30

777 B

airshipctl cluster list

Retrieve the list of defined clusters

Synopsis

Retrieve the list of defined clusters

airshipctl cluster list [flags]

Examples

# Retrieve cluster list
airshipctl cluster list --airshipconf /tmp/airconfig
airshipctl cluster list -o table
airshipctl cluster list -o name

Options

  -h, --help            help for list
  -o, --output string   'table' and 'name' are available output formats (default "name")

Options inherited from parent commands

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

SEE ALSO