Commands
Supported intents and useful flags in the shipped CLI.
Supported intents
| Intent | Examples | Notes |
|---|---|---|
| deploy | "deploy redis" | Deployment ± Service shortcuts |
| scale | "scale api to 10" | Deployment replicas |
| rollback | "rollback payment-api" | Rollout undo |
| delete | "delete deployment redis" | Named Pod/Deployment/Service only |
| get / list | "list deployments" | Read-only |
| explain | "explain why api is crashing" | Status + events; may suggest patch |
| logs | "logs payment-api" | Tail |
| describe | "describe payment-api" | Compact describe |
Flags
| Flag | Description |
|---|---|
| --approve | Apply without interactive confirmation |
| --wait | After apply, wait for Deployment rollout |
| --timeout | Timeout for --wait (default 5m) |
| --output / -o | text (default) or json (PlanResult) |
| --provider | LLM provider id |
| --model | Model id |
| --context | kubeconfig context |
| -n / --namespace | Namespace (wins over prompt phrases) |
Subcommands
- kprompt config / config set …
- kprompt history / history rerun [n]
- kprompt version