psm stack list

Use this command to list all stacks.


psm stack list [-e|--expand value]
     [-of|--output-format json|html|short]


Parameter Description
—e|--expand value

(Optional) Flag to configure the level of detail provided in the response for each stack. Permitted values are:

  • all

  • instances

  • template

  • resources

  • attributes

  • a comma-separated list of stack names.

-of|--output-format json|html|short (Optional) Desired output format.

Accepted values: json, html, short

The default output format is the one you specified when using the psm setup command to configure the psm CLI.


$ psm stack list -of json