Skip to Content
kusaw docsv1.0.0
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

Text
kusaw services <run> [flags]

Flags

NameShortTypeDefaultDescription
--configstringPath to kusaw.yaml (overrides KUSAW_CONFIG and parent search)
--factorystringfactory name from kusaw list
--help-hboolfalsehelp for services
--jsonboolfalsePrint JSON
--logsstringPrint the last lines of one service log
--restartstringRestart one service while the run waits at a gate

Exit codes

CodeNameDescription
0okSuccess.
1errorRuntime error.
2usageUsage or validation error.
3rejectedControl request rejected; the error string is printed verbatim.
4not picked upControl request not picked up within the wait time while serve runs.

Example

Text
kusaw services demo --json

On this page