# theme init

> Scaffold a theme, offline.

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

```bash
npx @storeware/cli theme init [directory] [flags]
```

## Arguments

| Argument | Required | What it is |
| --- | --- | --- |
| `[directory]` | No | Where to make it. This directory when not given. A file already there is kept. |

## Flags

| Flag | What it does |
| --- | --- |
| `--name <name>` | The theme's name. `A new theme` when not given. |

## Examples

```bash
npx @storeware/cli theme init my-theme
```

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