Adds an example prompt to the Alpic playground for an environment. A maximum of 3 example prompts can be added per environment.
Usage
alpic playground example-prompt add
Prompts for a title and prompt text interactively.
Extended Usage
Add an example prompt non-interactively:
alpic playground example-prompt add --title "Hello" --prompt "Say hello to the user"
Add a prompt to a specific environment:
alpic playground example-prompt add --environment-id <environmentId> --title "Hello" --prompt "Say hello to the user"
Options
| Flag | Description |
|---|
--environment-id | The ID of the environment (optional — read from local config if omitted) |
--title | The example prompt title (max 100 characters) |
--prompt | The example prompt text (max 500 characters) |
--non-interactive | Disable interactive prompts. Requires --title and --prompt. |
Each environment supports a maximum of 3 example prompts.
When running from a directory linked to an Alpic project, --environment-id is optional — the CLI reads it from the
local .alpic config file.