CLI reference
kusaw candidates
List a run's best-of-N candidates, including compare-only stages
kusaw candidates
List a run's best-of-N candidates, including compare-only stages
Usage
kusaw candidates <run> [flags]Flags
| Name | Short | Type | Default | Description |
|---|---|---|---|---|
--config | string | Path to kusaw.yaml (overrides KUSAW_CONFIG and parent search) | ||
--diff | string | Print the candidate's diff against the fork point (c or label) | ||
--factory | string | factory name from kusaw list | ||
--help | -h | bool | false | help for candidates |
--json | bool | false | Print JSON | |
--scorecard | bool | false | Print the attempt scorecard |
Subcommands
kusaw candidates dismiss
Delete kept candidate refs for a run
kusaw candidates dismiss <run> [flags]| Name | Short | Type | Default | Description |
|---|---|---|---|---|
--config | string | Path to kusaw.yaml (overrides KUSAW_CONFIG and parent search) | ||
--factory | string | factory name from kusaw list | ||
--help | -h | bool | false | help for dismiss |
Example:
kusaw candidates dismiss demokusaw candidates pick
Replace the gathered winner while the run waits at a gate
kusaw candidates pick <run> <candidate> [flags]| Name | Short | Type | Default | Description |
|---|---|---|---|---|
--config | string | Path to kusaw.yaml (overrides KUSAW_CONFIG and parent search) | ||
--factory | string | factory name from kusaw list | ||
--help | -h | bool | false | help for pick |
--note | string | Note stored with the pick |
Example:
kusaw candidates pick demo c2 --note "prefer the smaller diff"kusaw candidates prune
Dismiss kept candidate refs on old runs
kusaw candidates prune [flags]| Name | Short | Type | Default | Description |
|---|---|---|---|---|
--config | string | Path to kusaw.yaml (overrides KUSAW_CONFIG and parent search) | ||
--factory | string | factory name from kusaw list | ||
--help | -h | bool | false | help for prune |
--older-than | string | 30d | Dismiss refs on runs finished longer ago than this (for example 30d) |
Example:
kusaw candidates prune --older-than 30dExit codes
| Code | Name | Description |
|---|---|---|
| 0 | ok | Success. |
| 1 | error | Runtime error. |
| 2 | usage | Usage or validation error. |
| 3 | rejected | Control request rejected; the error string is printed verbatim. |
| 4 | not picked up | Control request not picked up within the wait time while serve runs. |
Example
kusaw candidates demo --json