shopify theme open
Opens the preview of your remote theme.
Returns links that let you preview the specified theme. The following links are returned:
- A link to the editor for the theme in the Shopify admin.
- A preview link that you can share with other developers.
If you don't specify a theme, then you're prompted to select the theme to open from the list of the themes in your store.
Usage
shopify theme open [flags]Summary
Opens the preview of your remote theme.
Flags
--no-color— Disable color output. optional Environment:SHOPIFY_FLAG_NO_COLOR.--password <value>string— Password generated from the Theme Access app or an Admin API token. optional Environment:SHOPIFY_CLI_THEME_TOKEN.--path <value>string— The path where you want to run the command. Defaults to the current working directory. optional Environment:SHOPIFY_FLAG_PATH.--verbose— Increase the verbosity of the output. optional Environment:SHOPIFY_FLAG_VERBOSE.-d, --development— Open your development theme. optional Environment:SHOPIFY_FLAG_DEVELOPMENT.-E, --editor— Open the theme editor for the specified theme in the browser. optional Environment:SHOPIFY_FLAG_EDITOR.-e, --environment <value>string— The environment to apply to the current command. optional Environment:SHOPIFY_FLAG_ENVIRONMENT.-l, --live— Open your live (published) theme. optional Environment:SHOPIFY_FLAG_LIVE.-s, --store <value>string— Store URL. It can be the store prefix (example) or the full myshopify.com URL (example.myshopify.com, https://example.myshopify.com). optional Environment:SHOPIFY_FLAG_STORE.-t, --theme <value>string— Theme ID or name of the remote theme. optional Environment:SHOPIFY_FLAG_THEME_ID.