theme deletecommand
Deletes a theme from your store.
You can specify multiple themes by ID. If no theme is specified, then you're prompted to select the theme that you want to delete from the list of themes in your store.
You're asked to confirm that you want to delete the specified themes before they are deleted. You can skip this confirmation using the --force
flag.
Anchor to flagsFlags
The following flags are available for the theme delete
command:
- Anchor to --no-color--no-colorenv: SHOPIFY_FLAG_NO_COLOR
Disable color output.
- Anchor to --password <value>--password <value>stringenv: SHOPIFY_CLI_THEME_TOKEN
Password generated from the Theme Access app.
- Anchor to --path <value>--path <value>stringenv: SHOPIFY_FLAG_PATH
The path where you want to run the command. Defaults to the current working directory.
- Anchor to --verbose--verboseenv: SHOPIFY_FLAG_VERBOSE
Increase the verbosity of the output.
- Anchor to -a, --show-all-a, --show-allenv: SHOPIFY_FLAG_SHOW_ALL
Include others development themes in theme list.
- Anchor to -d, --development-d, --developmentenv: SHOPIFY_FLAG_DEVELOPMENT
Delete your development theme.
- Anchor to -e, --environment <value>-e, --environment <value>stringenv: SHOPIFY_FLAG_ENVIRONMENT
The environment to apply to the current command.
- Anchor to -f, --force-f, --forceenv: SHOPIFY_FLAG_FORCE
Skip confirmation.
- Anchor to -s, --store <value>-s, --store <value>stringenv: SHOPIFY_FLAG_STORE
Store URL. It can be the store prefix (example) or the full myshopify.com URL (example.myshopify.com, https://example.myshopify.com).
- Anchor to -t, --theme <value>-t, --theme <value>stringenv: SHOPIFY_FLAG_THEME_ID
Theme ID or name of the remote theme.
themedelete
- --no-color
Disable color output.
""
- --password <value>
Password generated from the Theme Access app.
string
- --path <value>
The path where you want to run the command. Defaults to the current working directory.
string
- --verbose
Increase the verbosity of the output.
""
- -a, --show-all
Include others development themes in theme list.
""
- -d, --development
Delete your development theme.
""
- -e, --environment <value>
The environment to apply to the current command.
string
- -f, --force
Skip confirmation.
""
- -s, --store <value>
Store URL. It can be the store prefix (example) or the full myshopify.com URL (example.myshopify.com, https://example.myshopify.com).
string
- -t, --theme <value>
Theme ID or name of the remote theme.
string
export interface themedelete {
/**
* Delete your development theme.
* @environment SHOPIFY_FLAG_DEVELOPMENT
*/
'-d, --development'?: ''
/**
* The environment to apply to the current command.
* @environment SHOPIFY_FLAG_ENVIRONMENT
*/
'-e, --environment <value>'?: string
/**
* Skip confirmation.
* @environment SHOPIFY_FLAG_FORCE
*/
'-f, --force'?: ''
/**
* Disable color output.
* @environment SHOPIFY_FLAG_NO_COLOR
*/
'--no-color'?: ''
/**
* Password generated from the Theme Access app.
* @environment SHOPIFY_CLI_THEME_TOKEN
*/
'--password <value>'?: string
/**
* The path where you want to run the command. Defaults to the current working directory.
* @environment SHOPIFY_FLAG_PATH
*/
'--path <value>'?: string
/**
* Include others development themes in theme list.
* @environment SHOPIFY_FLAG_SHOW_ALL
*/
'-a, --show-all'?: ''
/**
* Store URL. It can be the store prefix (example) or the full myshopify.com URL (example.myshopify.com, https://example.myshopify.com).
* @environment SHOPIFY_FLAG_STORE
*/
'-s, --store <value>'?: string
/**
* Theme ID or name of the remote theme.
* @environment SHOPIFY_FLAG_THEME_ID
*/
'-t, --theme <value>'?: string
/**
* Increase the verbosity of the output.
* @environment SHOPIFY_FLAG_VERBOSE
*/
'--verbose'?: ''
}
Theme delete
examples
theme delete
theme delete
shopify theme delete [flags]