Skip to Content
kusaw docsv1.0.0
CLI reference

kusaw repo-run

Run a command under a repo's command environment

kusaw repo-run

Run a command under a repo's command environment

Usage

Text
kusaw repo-run --repo <label> [--print] -- <command> [flags]

Flags

NameShortTypeDefaultDescription
--configstringPath to kusaw.yaml (overrides KUSAW_CONFIG and parent search)
--factorystringfactory name from kusaw list
--help-hboolfalsehelp for repo-run
--printboolfalsePrint the argv JSON and exit
--repostringRepo label from kusaw.yaml

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 repo-run --repo demo --print -- 'echo ok'

On this page