shopify theme push
Uploads your local theme files to Shopify, overwriting the remote theme if specified
Options
Name | Description |
---|---|
--theme, -t <NAME_OR_ID> | The name or ID of the theme that you want to overwrite |
--store, -s <store> | The development store that you want to use to preview your theme |
--path <path> | The path to your theme directory |
--development, -d | Pushes to your development theme. If you don't have a development theme, then one is created. This option doesn't require --theme |
--nodelete, -n | Pushes your local files without deleting remote files from Shopify |
--json, -j | Returns information about the pushed theme as a JSON object |
--allow-live, -a | Allows Shopify CLI to overwrite the live (published) theme |
--live, -l | Pushes to the live (published) theme. This option doesn't require --theme or --allow-live |
--publish, -p | After the theme is pushed, publishes the theme so it is live in the store |
--unpublished, -u | Uploads the theme to the theme library as a new unpublished theme.You're prompted to provide a name for the theme. Use the --theme flag to provide a name as a part of the command |
--ignore, -x | Skips uploading the specified files to Shopify. Specify multiple patterns to ignore by using the flag multiple times in a single command. If files are excluded using .shopifyignore, then both the contents of .shopifyignore and the --ignore flag are respected |
--only, -o | Uploads only the specified files to Shopify. Specify multiple patterns by using the flag multiple times in a single command |