Command reference
This reference lists the Theme Kit commands for creating, configuring, updating, deploying, downloading, and removing themes.
Get help from the command line
If you want information about Theme Kit commands while you are working, then you can get help by running the following commands:
Get a list of all commands and flags
shoplazza help
Get a list of all the flags for a command
shoplazza [command] --help
pull
Download the theme file from Shoplazza, or if the configuration file already exists, download the specified theme directly instead of asking.
shoplazza theme pull
Optional flags
Flag | Short flag | Description |
---|---|---|
--theme <THEME_ID> | -t <THEME_ID> | Sets the theme ID |
--store <store> | -s <store> | Sets the store URL |
--token <token> | -k <token> | Sets the Theme token |
watch
Instructs Theme Kit to watch for any changes made to your local files, and automatically pushes updates to your theme in the connected Shoplazza store.
Both the changes and the status of the upload are logged to the terminal. To close the watch connection, type ctrl + c
.
shoplazza theme watch
push
This command will generate a new theme with the same name from the local theme directory to your theme list. The current configuration theme is not overridden.
shoplazza theme push
Optional flags
Flag | Short flag | Description |
---|---|---|
--override | -o | Overwrite the current theme |
publish
Publish the theme live from your development configuration.
shoplazza theme publish
package
Generate a zip file with random string names from the Theme folder.
shoplazza theme package
delete
This command deletes the theme specified in the configuration file. You should not use the command.
shoplazza theme delete
Updated over 1 year ago