Command reference
theme release
Check a theme folder the way the catalogue will, send it as the next version of a listing, and publish it.
npx @storeware/cli theme release [folder] [flags]Arguments
| Argument | Required | What it is |
|---|---|---|
[folder] | No | The theme folder, with theme.json, an assets folder for the pictures it names and a previews folder for up to eight screenshots. This directory when not given. |
Flags
| Flag | What it does |
|---|---|
--listing <slug> | The listing this is the next version of. Required. |
--note <text> | What changed, shown beside the version. At most 2000 characters. |
--draft | Stop before publishing, leaving a draft that no shop sees. |
--check | Run the checks on the folder and send nothing. |
Examples
npx @storeware/cli theme release ./harbour --listing harbour --note "Wider product pictures"
npx @storeware/cli theme release --listing harbour --draft
npx @storeware/cli theme release ./harbour --listing harbour --checkMore in Publish a theme. Every command also takes the flags on the reference page.