Skip to main content
All of these commands accept the label and pattern syntax described in the CLI overview. Global flags (-e/--env, --platforms, --workspace-root, --config) apply to every command and are documented there.

rbs build

Build one or more targets with proper dependency handling. Dependencies are resolved automatically and independent tasks run in parallel.

rbs test

Run one or more test targets.

rbs run

Run a single target, or multiple targets in parallel. Deliberate side-effect targets (e.g. an oci_push or k8s_deploy target) perform their effect at run time — the build itself stays pure.

rbs query

List and inspect build targets matching a pattern, without building anything. With no pattern, queries the whole workspace (//...).

rbs graph

Generate a full dependency graph of the workspace by executing all .rbs files and walking every registry: build targets, infra resources, CI workflows, and external dependencies.
Workspace-loading progress goes to stderr, so stdout carries only the graph document — rbs graph | jq '.nodes[].id' works as-is. Redirect stderr (2>/dev/null) to silence the progress output.

rbs coverage

Generate coverage reports for one or more test targets.
This command has no flags of its own beyond the global set.