theme packagecommand
command
Packages your local theme files into a ZIP file that can be uploaded to Shopify.
Only folders that match the default Shopify theme folder structure are included in the package.
The package includes the listings
directory if present (required for multi-preset themes per Theme Store requirements).
The ZIP file uses the name , based on parameters in your settings_schema.json file.
Anchor to flagsFlags
The following flags are available for the theme package
command:
- 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 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.
themepackage
- --no-color
Disable color output.
""
- --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.
""
export interface themepackage {
/**
* Disable color output.
* @environment SHOPIFY_FLAG_NO_COLOR
*/
'--no-color'?: ''
/**
* The path where you want to run the command. Defaults to the current working directory.
* @environment SHOPIFY_FLAG_PATH
*/
'--path <value>'?: string
/**
* Increase the verbosity of the output.
* @environment SHOPIFY_FLAG_VERBOSE
*/
'--verbose'?: ''
}
Was this section helpful?
Theme package
shopify theme package [flags]
examples
theme package
theme package
shopify theme package [flags]