theme consolecommand
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
Anchor to flagsFlags
The following flags are available for the theme console
command:
Disable color output.
Password generated from the Theme Access app.
The path where you want to run the command. Defaults to the current working directory.
The password for storefronts with password protection.
The url to be used as context
Increase the verbosity of the output.
The environment to apply to the current command.
Store URL. It can be the store prefix (example) or the full myshopify.com URL (example.myshopify.com, https://example.myshopify.com).