Skip to Content
kusaw docsv1.0.0
CLI reference

kusaw route

Route a waiting task to a workflow, or classify without setting

kusaw route

Route a waiting task to a workflow, or classify without setting

Usage

Text
kusaw route <task> [<workflow>] [flags]

Flags

NameShortTypeDefaultDescription
--configstringPath to kusaw.yaml (overrides KUSAW_CONFIG and parent search)
--factorystringfactory name from kusaw list
--help-hboolfalsehelp for route

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 route demo-1 feature

On this page