Skip to content
Sign in Get started
Menu
Developer docs menu

WP-CLI reference

Applies to Companion 1.0.3 Updated 14 November 2026 View as Markdown

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

A guide: WP-CLI.

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.
[--keep-styles] Leave Styles as they are; the demo's look waits in Browse styles.
[--keep-settings[=<groups>]] Deprecated, and ignored: the import keeps every store setting.
wp lanternwp demo import base
wp lanternwp demo import base --keep-styles
wp lanternwp demo import voltline@2
wp lanternwp demo import base --dir=./base

wp lanternwp demo look

Puts a demo's look into Styles, 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] Leave Styles as they are and say where the demo's look is.
wp lanternwp demo look kilowatt
wp lanternwp demo look base

wp lanternwp demo undo

Puts back what the last demo import changed: the settings, templates, menus, Styles and features it saved

Option Description
wp lanternwp demo undo