ionic-cloud environment update
[ionic-cloud, environment, update]
Rename an environment for an app in Appflow
ionic-cloud environment update [flags]
Examples
ionic-cloud environment update --app-id=a1234bc --name="My Env" --rename="My New Env"
Flags
Name | Type | Default | Description |
---|---|---|---|
--app-id [required] | string | Appflow app id | |
--name [required] | string | Appflow environment name | |
--rename [required] | string | New Appflow environment name |
Global Flags
Name | Type | Default | Description |
---|---|---|---|
-h, --help | boolean | false | Print help information for command |
--config | string | Ionic Cloud config file (.ionic-cloud.yaml by default) | |
--json | boolean | false | For commands with output, shortcut to print as JSON |
--output | string | "text" | For commands with output, print as [json] or human readable [text] |
--token | string | Ionic authorization token |
Outputs
Name | Type | Description |
---|---|---|
name | string | The name of an Environment you've created in Appflow. |
variables (optional) | object[] | The combined list of all environment variables used for a build. |
.name | string | The key of the environment variable. |
.value | string | The value of the environment variable. |
secrets (optional) | object[] | The combined list of all environment secrets used for a build. The key values are not downloaded; the key names are just displayed for reference. |
.name | string | The key of the secret. |