Getting Started
Install
cargo install brb-cliCheck the install:
brb --versionInitialise Config
Create a default config file:
brb initPrint the active config path:
brb config pathRun Your First Command
brb cargo testThis uses channels listed under default_channels in your config, by default this
is just desktop.
Channels
Override Channels Per Run
Use repeated --channel flags to override defaults for a single invocation:
brb --channel desktop --channel ci-webhook pnpm testChannel Rules
- If at least one
--channelis provided,brbuses only those channel IDs. - If no
--channelis provided,brbusesdefault_channels. - If any selected channel ID does not exist,
brbexits with an error.
Cookbook
| Goal | Command |
|---|---|
| Run with defaults | brb cargo test |
| Use one specific channel | brb --channel desktop cargo test |
| Use multiple channels | brb --channel desktop --channel ci-webhook pnpm test |
| Validate config | brb channels validate |
| Send test notification | brb channels test desktop |
| Print config path | brb config path |