# theme release

> Check a theme folder the way the catalogue will, send it as the next version of a listing, and publish it.

Source: https://storeware.ai/docs/cli/commands/theme-release

```bash
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

```bash
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 --check
```

More in [Publish a theme](https://storeware.ai/docs/themes/selling). Every command also takes the [flags on the reference page](https://storeware.ai/docs/cli/commands#flags-every-command-takes).
