CLI
The CLI separates desired-state reconciliation from necessary runtime actions.
Desired state
Section titled “Desired state”deliberate apply --env productiondeliberate apply --env preview-pr-42 --image app=registry.deliberate.cloud/acme/app:git-a81c9e4deliberate diff --env productiondeliberate pull --env productiondeliberate clone <team-slug>/productionapply validates and reconciles the complete .deliberate/ tree. pull
replaces the local resource tree with the selected remote revision. Commit or
stash local work before pulling. Repeat --image <component>=<reference> to
deploy immutable images from CI without editing the checkout. The CLI resolves
those assignments into the tree before diffing and validation; the stored
revision and a later pull contain the exact deployed references.
Inspect
Section titled “Inspect”deliberate statusdeliberate open --env productiondeliberate logs --env production --component appdeliberate metrics --env production --component appdeliberate deployments list --env productionRuntime operations
Section titled “Runtime operations”Runtime operations remain procedural because they represent actions rather than desired state:
deliberate exec --env production --component app -- shdeliberate databases backup postgres --env productiondeliberate deployments rollback --env production <revision>Use deliberate <command> --help for the authoritative flags and subcommands of
the installed release.