CLI reference
kusaw add
Check the spec structurally and queue it
kusaw add
Check the spec structurally and queue it
Usage
kusaw add <spec.md> [flags]Flags
| Name | Short | Type | Default | Description |
|---|---|---|---|---|
--config | string | Path to kusaw.yaml (overrides KUSAW_CONFIG and parent search) | ||
--effects | string | Set apply, dry-run, or off for every step of this run | ||
--factory | string | factory name from kusaw list | ||
--help | -h | bool | false | help for add |
--no-input | bool | false | Do not ask which workflow when routing waits | |
--source-link | string | Where this task came from (free text or URL) | ||
--workflow | string | Route this task to a named workflow |
Exit 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 add specs/demo.md --workflow feature