shopify theme console
Shopify Liquid REPL (read-eval-print loop) tool
Starts the Shopify Liquid REPL (read-eval-print loop) tool. This tool provides an interactive terminal interface for evaluating Liquid code and exploring Liquid objects, filters, and tags using real store data.
You can also provide context to the console using a URL, as some Liquid objects are context-specific
Usage
shopify theme console
shopify theme console --url /products/classic-leather-jacketSummary
Shopify Liquid REPL (read-eval-print loop) tool
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.--store-password <value>string— The password for storefronts with password protection. optional Environment:SHOPIFY_FLAG_STORE_PASSWORD.--url <value>string— The url to be used as context optional Environment:SHOPIFY_FLAG_URL.--verbose— Increase the verbosity of the output. optional Environment:SHOPIFY_FLAG_VERBOSE.-e, --environment <value>string— The environment to apply to the current command. optional Environment:SHOPIFY_FLAG_ENVIRONMENT.-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.