app env pullcommand
Creates or updates an .env
files that contains app and app extension environment variables.
When an existing .env
file is updated, changes to the variables are displayed in the terminal output. Existing variables and commented variables are preserved.
Anchor to flagsFlags
The following flags are available for the app env pull
command:
- Anchor to --client-id <value>--client-id <value>stringenv: SHOPIFY_FLAG_CLIENT_ID
The Client ID of your app.
- Anchor to --env-file <value>--env-file <value>stringenv: SHOPIFY_FLAG_ENV_FILE
Specify an environment file to update if the update flag is set
- Anchor to --no-color--no-colorenv: SHOPIFY_FLAG_NO_COLOR
Disable color output.
- Anchor to --path <value>--path <value>stringenv: SHOPIFY_FLAG_PATH
The path to your app directory.
- Anchor to --reset--resetenv: SHOPIFY_FLAG_RESET
Reset all your settings.
- Anchor to --verbose--verboseenv: SHOPIFY_FLAG_VERBOSE
Increase the verbosity of the output.
- Anchor to -c, --config <value>-c, --config <value>stringenv: SHOPIFY_FLAG_APP_CONFIG
The name of the app configuration.
appenvpull
- --client-id <value>
The Client ID of your app.
string
- --env-file <value>
Specify an environment file to update if the update flag is set
string
- --no-color
Disable color output.
""
- --path <value>
The path to your app directory.
string
- --reset
Reset all your settings.
""
- --verbose
Increase the verbosity of the output.
""
- -c, --config <value>
The name of the app configuration.
string
export interface appenvpull {
/**
* The Client ID of your app.
* @environment SHOPIFY_FLAG_CLIENT_ID
*/
'--client-id <value>'?: string
/**
* The name of the app configuration.
* @environment SHOPIFY_FLAG_APP_CONFIG
*/
'-c, --config <value>'?: string
/**
* Specify an environment file to update if the update flag is set
* @environment SHOPIFY_FLAG_ENV_FILE
*/
'--env-file <value>'?: string
/**
* Disable color output.
* @environment SHOPIFY_FLAG_NO_COLOR
*/
'--no-color'?: ''
/**
* The path to your app directory.
* @environment SHOPIFY_FLAG_PATH
*/
'--path <value>'?: string
/**
* Reset all your settings.
* @environment SHOPIFY_FLAG_RESET
*/
'--reset'?: ''
/**
* Increase the verbosity of the output.
* @environment SHOPIFY_FLAG_VERBOSE
*/
'--verbose'?: ''
}
App env pull
examples
app env pull
app env pull
shopify app env pull [flags]