appflow environment unset
[appflow, environment, unset]
Remove key/value pairs from an existing environment in Appflow
appflow environment unset [flags]
Examples
appflow environment unset --app-id=a1234bc --name="My Env" --env="VERSION" --env="ENVIRONMENT" --secret="KEY"
Flags
Name | Type | Default | Description |
---|---|---|---|
--app-id [required] | string | Appflow app id | |
--name [required] | string | Appflow environment name | |
--env | string[] | [] | Name of the variable to remove |
--secret | string[] | [] | Name of the secret to remove |
Global Flags
Name | Type | Default | Description |
---|---|---|---|
-h, --help | boolean | false | Print help information for command |
--config | string | Appflow config file (.appflow.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. |