Target labels and patterns
Most commands that operate on build targets accept labels in the same syntax:build, test, run, and coverage also accept a natural syntax — a package
path followed by one or more target names. For example, from the RBS source
repository root:
rbs build examples/go-hello hello— buildshelloin theexamples/go-hellopackage; expect a successful build summary.rbs run examples/go-hello hello— builds and runs the same target; expectHello, World! (built with RBS).
Global flags
These flags are accepted by every command. Per-command flag tables on the other pages omit them (along with-h, --help, which every command supports).
Inside
rbs infra, -e/--env takes a different meaning: it is an alias for the
infra workspace (--workspace), e.g. dev, staging, prod. See
rbs infra.Shell completion
rbs completion [bash|zsh|fish|powershell] generates an autocompletion script for your shell.
rbs help [command] prints help for any command — equivalent to rbs <command> --help.