Skip to content
qibdo qibdo
Theme
Book a demo

Operations

Creating, updating, and deleting a resource on qibdo Cloud starts a server-side operation that runs to completion in its own time. The CLI turns that into one contract that every mutating command follows, so you never have to ask what a given command does with a long-running change.

A mutating command waits for the operation to finish and prints the final resource. The command exits when the change is real, which is what makes it safe to write the obvious thing in a script:

Terminal window
qibdo <service> <resource> create <name>

Nothing after that line has to poll or sleep.

Pass --async and the command prints the operation id and returns immediately, leaving the work running:

Terminal window
qibdo <service> <resource> create <name> --async

That is the right choice when you are starting several changes at once, or when a step in a pipeline should not block. A detached operation is re-attached later with:

Terminal window
qibdo <service> operations describe <id>

Destructive commands prompt before they act. --yes skips the prompt:

Terminal window
qibdo <service> <resource> delete <name> --yes

In a non-interactive context --yes is required, never assumed. A delete that would have prompted fails instead of guessing, so a script that forgot to opt in stops rather than destroying something quietly. See Running without a terminal for the related --no-input behaviour.