Skip to main content

ionic-cloud environment list

[ionic-cloud, environment, list]

List all environments for an app in Appflow

ionic-cloud environment list [flags]

Examples

ionic-cloud environment list --app-id=a1234bc

Flags

NameTypeDefaultDescription
--app-id [required]stringAppflow app id

Global Flags

NameTypeDefaultDescription
-h, --helpbooleanfalsePrint help information for command
--configstringIonic Cloud config file (.ionic-cloud.yaml by default)
--jsonbooleanfalseFor commands with output, shortcut to print as JSON
--outputstring"text"For commands with output, print as [json] or human readable [text]
--tokenstringIonic authorization token

Outputs

NameTypeDescription
environmentsobject[]The Environments for your app in Appflow.
.namestringThe name of an Environment you've created in Appflow.
{
"environments": [
{
"name": "MyEnvVar"
}
]
}