ReferenceCLI
agb sweep
Apply one operation to many targets by converting a sweep spec into a plan and running it.
agb sweep converts a sweep spec (one operation template applied to many targets) into a plan and runs it with the same engine as agb run. The spec defaults to sweep.json.
A global --project <name> is passed to the run, so every builder and prosecutor session in the sweep uses it.
Synopsis
agb sweep <sweep.json>Same operation × many targets, then run.
This command takes no flags.
Behavior
- The spec's
repois resolved to an absolute path, the spec is converted withsweepToPlan, and the resulting plan is validated like any other plan (sweep dispatch). operationmust contain{target}, and targets come fromtargets[]ortargetGlob(sweep validation). The full format is in Sweep schema.- Exit codes match
agb run: 1 for an invalid sweep, 2 when any target fails, 0 otherwise.
See the Sweeps guide.