CLI reference
kusaw effects
List a run's effects, or apply or reject held ones
kusaw effects
List a run's effects, or apply or reject held ones
Usage
kusaw effects [run] [flags]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 effects |
--json | bool | false | Print JSON |
Subcommands
kusaw effects apply
Apply held effects for a finished run
kusaw effects apply <run> [flags]| Name | Short | Type | Default | Description |
|---|---|---|---|---|
--config | string | Path to kusaw.yaml (overrides KUSAW_CONFIG and parent search) | ||
--effect | string | Approve the result that contains this effect id | ||
--factory | string | factory name from kusaw list | ||
--help | -h | bool | false | help for apply |
Example:
kusaw effects apply demokusaw effects reject
Reject held effects for a finished run
kusaw effects reject <run> [flags]| Name | Short | Type | Default | Description |
|---|---|---|---|---|
--config | string | Path to kusaw.yaml (overrides KUSAW_CONFIG and parent search) | ||
--effect | string | Reject the result that contains this effect id | ||
--factory | string | factory name from kusaw list | ||
--help | -h | bool | false | help for reject |
Example:
kusaw effects reject demoExit 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 effects demo