---
title: WP-CLI reference
summary: The options of LanternWP Companion's WP-CLI commands, from their docblocks.
url: https://lanternwp.com/developers/reference/wp-cli
updated: 2026-10-08
---

# WP-CLI reference

Generated from the theme and LanternWP Companion with every release; do not edit it by hand.

A guide: [WP-CLI](../wp-cli.md).

## wp lanternwp demo import

Imports a demo into this store, or brings an earlier import of it up to date.

| Option                | Description                                                                           |
| --------------------- | ------------------------------------------------------------------------------------- |
| `<demo>`              | The demo's id, such as base, or the id and a version, such as base@2.                 |
| `[--dir=<directory>]` | Import from this directory instead, the demo's built manifest.json beside its images. |
| `[--server=<url>]`    | The demo store to download from.                                                      |

```text
wp lanternwp demo import base
wp lanternwp demo import voltline@2
wp lanternwp demo import base --dir=./base
```

## wp lanternwp demo look

Makes a demo's look this store's starting look, and nothing else of the demo.

| Option                | Description                                                                   |
| --------------------- | ----------------------------------------------------------------------------- |
| `<demo>`              | The demo's id, such as kilowatt, or the id and a version, such as kilowatt@2. |
| `[--dir=<directory>]` | Read the demo's built manifest.json from this directory instead.              |
| `[--server=<url>]`    | The demo store to read from.                                                  |
| `[--keep-styles]`     | Keep the changes in Styles over the new look.                                 |

```text
wp lanternwp demo look kilowatt
wp lanternwp demo look base --keep-styles
```
