Skip to content
This repository has been archived by the owner on Aug 16, 2021. It is now read-only.

CLI for Shopify Theme Lab. Quickly create a local Shopify Theme Lab environment ๐Ÿš€

License

Notifications You must be signed in to change notification settings

uicrooks/shopify-theme-lab-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

65 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Shopify Theme Lab CLI

Command Line Interface for Shopify Theme Lab.

There is no need to install this package locally, npx takes care of everything, simply run the commands in your terminal.

System requirements

  • Node.js >= 12.0.0

Commands

For all options you can also use the shorthand version, which is the first letter only, with a single dash in front e.g. For --password it's -p.

Create a local development environment:

$ npx themelab create <directory-name>

Create a local development environment from a preset:

Prints a list of available options in the terminal to select from

$ npx themelab create <directory-name> --preset

Initialize a remote Shopify theme and create a local config file:

Run in the root directory of your Shopify Theme Lab project!

$ npx themelab shopify:init --password [your-api-password] --store [your-store.myshopify.com] --env [dev or live] --name ['theme name']

Create a local config file (connect to an existing Theme Lab theme on a remote store):

Run in the root directory of your Shopify Theme Lab project!

$ npx themelab shopify:init --password [your-api-password] --store [your-store.myshopify.com] --env [dev or live] --id [theme-id]

Create a local config file for a published/main theme:

Run in the root directory of your Shopify Theme Lab project!

$ npx themelab shopify:init --password [your-api-password] --store [your-store.myshopify.com] --env [dev or live] --main

Display help:

$ npx themelab --help

About

CLI for Shopify Theme Lab. Quickly create a local Shopify Theme Lab environment ๐Ÿš€

Topics

Resources

License

Stars

Watchers

Forks