# WP-CLI commands

<!-- Generated by `pnpm docs:reference`. Do not edit this file; change the code it is read from. -->

SleekMotion registers these WP-CLI commands. Each is documented by the WP-CLI docblock where it is declared; `wp help <command>` prints the same text on a site.

## `wp sleek motion breakpoint`

Manages a named name/value list inside the settings option, used for both presets and breakpoints.

## `wp sleek motion breakpoint add`

Adds an entry, replacing one with the same name.

```bash
wp sleek motion breakpoint add <name> <value>
```

| Argument | Description |
| --- | --- |
| `<name>` | The entry name. |
| `<value>` | The entry value. |

## `wp sleek motion breakpoint list`

Lists the entries.

```bash
wp sleek motion breakpoint list [--format=<format>]
```

| Argument | Description |
| --- | --- |
| `[--format=<format>]` | Output format. Supports table and json. |

## `wp sleek motion breakpoint remove`

Removes an entry by name.

```bash
wp sleek motion breakpoint remove <name>
```

| Argument | Description |
| --- | --- |
| `<name>` | The entry name. |

## `wp sleek motion preset`

Manages a named name/value list inside the settings option, used for both presets and breakpoints.

## `wp sleek motion preset add`

Adds an entry, replacing one with the same name.

```bash
wp sleek motion preset add <name> <value>
```

| Argument | Description |
| --- | --- |
| `<name>` | The entry name. |
| `<value>` | The entry value. |

## `wp sleek motion preset list`

Lists the entries.

```bash
wp sleek motion preset list [--format=<format>]
```

| Argument | Description |
| --- | --- |
| `[--format=<format>]` | Output format. Supports table and json. |

## `wp sleek motion preset remove`

Removes an entry by name.

```bash
wp sleek motion preset remove <name>
```

| Argument | Description |
| --- | --- |
| `<name>` | The entry name. |

## `wp sleek motion settings`

Reads and writes the SleekMotion settings.

## `wp sleek motion settings get`

Shows the settings, or one value by dot path.

```bash
wp sleek motion settings get [<path>] [--format=<format>]
```

| Argument | Description |
| --- | --- |
| `[<path>]` | A dot path like editor.enable. Omit for everything. |
| `[--format=<format>]` | json prints every value as JSON; plain prints a single value as is. Without it, structures print as JSON and single values as PHP literals. One of `json`, `plain`. |

**Examples**

```bash
wp sleek motion settings get editor.enable
wp sleek motion settings get --format=json
```

## `wp sleek motion settings update`

Updates one settings value by dot path.

true/false and numbers are cast; everything else is stored as a
string.

```bash
wp sleek motion settings update <path> <value>
```

| Argument | Description |
| --- | --- |
| `<path>` | A dot path like editor.enable. |
| `<value>` | The new value. |

**Examples**

```bash
wp sleek motion settings update editor.enable true
```
