CLI reference
kusaw services
List a run's declared services, or tail or restart one
kusaw services
List a run's declared services, or tail or restart one
Usage
kusaw services <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 services |
--json | bool | false | Print JSON | |
--logs | string | Print the last lines of one service log | ||
--restart | string | Restart one service while the run waits at a gate |
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 services demo --json