CLI demos
Generate, list, inspect, and open demos from the command line.
CLI demos
Generate a demo
bashlittledemo demos create \ --project proj_abc123 \ --prompt "Show creating a workspace and inviting a teammate"
By default, the CLI waits for the demo to finish and prints the share URL plus iframe.
Useful flags
bashlittledemo demos create \ --project proj_abc123 \ --prompt "Show the pricing plans and annual billing toggle" \ --duration 10s \ --template pricing-focus \ --open
| Flag | Purpose |
|---|---|
--project | Project ID. |
--prompt | What the demo should show. |
--duration | Target duration, such as 10s. |
--template | Recording style nudge. |
--style | Alias for --template. |
--section | Section hint for section-focus. |
--no-wait | Queue and return immediately. |
--open | Open the share page when ready. |
Inspect demos
bashlittledemo demos list --project proj_abc123littledemo demos get demo_abc123littledemo demos open demo_abc123