Skip to main content

Command tree

dorgu incidents has only list and describe. There is no history subcommand.
CLI v0.13.0 removed every command that was not part of the self-healing loop: generate, init, config, persona generate, persona apply, cluster init, cluster setup, cluster info, platform serve, watch, sync, health --watch, and the global --config flag. The CLI migration guide lists what to use instead for each one.

Command reference

The command tree above is a plain listing. Use these links for the full flag reference on each command group.

Global flags

These flags apply to all commands: Cluster commands also take --kubeconfig. Both it and --context are applied to every kubectl call a command makes, so a command never reads one cluster and writes another. heal’s production-context guard checks the --context value when you set it, and the kubeconfig’s current-context otherwise.

Prerequisites

Every command that touches a cluster shells out to kubectl, so it must be on your PATH, and either your current context or --context must point at the target cluster. Without it those commands fail with kubectl not found in PATH. Only version and completion work with no cluster at all. Set DORGU_DEBUG=1 to see kubectl’s raw output in error messages. By default the CLI strips klog noise (the memcache.go:265 "Unhandled Error" lines) so the message that says what went wrong is not buried.

Exit codes

Codes 2 and 3 are opt-in and specific to dorgu health. An unknown subcommand is an error with a non-zero exit, not a help dump.
4 is a decision, not a failure. A wrapper that treats every non-zero exit as breakage will report a successful refusal as an error. Accept 4, or use --no-heal, which records the decision without a workload patch and exits 0. See the ownership model.

Getting help