Skip to content

CLI reference

Create a .rigg/ directory with example workflow files.

Terminal window
rigg init

Validate all .rigg/*.yaml workflow files. Reports syntax errors, unknown fields, invalid references, and schema violations.

Terminal window
rigg validate

Execute a workflow by ID.

Terminal window
rigg run <workflow_id> [options]
FlagDescription
--input key=valueSet input parameter (repeatable). Values are JSON-parsed when possible.
--jsonOutput a JSON snapshot to stdout
--quietMinimal output

Interactive progress is shown by default on TTY. --json, --quiet, and non-TTY suppress it.

List recent runs or inspect a specific run.

Terminal window
rigg status # list all runs
rigg status <run_id> # show run details
rigg status <run_id> --json # details as JSON

View execution logs for a run.

Terminal window
rigg logs <run_id> [options]
FlagDescription
--node <step_id>Show logs for a specific step only
--stderrShow stderr instead of stdout
.rigg/
├── *.yaml # Workflow files (auto-discovered)
└── runs/
└── <run_id>/ # Run data (logs, results)

Workflows are discovered from the nearest .rigg/ directory.