Interface: CliInvocation
Properties
argv
readonlyargv: readonlystring[]
The argv vector as dispatched, including the command path segments.
command?
readonlyoptionalcommand?:string
The resolved command path (db migrate); absent for help, --version, and usage failures.
exitCode
readonlyexitCode:number
The process exit code the routed shell mapped: 0 success (or the result's
exitCode under config.exitCode: 'result'), 1 execution failure,
2 usage or input-validation failure.
provenance
readonlyprovenance:CliDispatchProvenance
routeId?
readonlyoptionalrouteId?:string
stderr
readonlystderr:string
Everything the shell wrote to its diagnostic stream.
stdout
readonlystdout:string
Everything the shell wrote to stdout, including rendered Markdown, TTY, JSON, or NDJSON output.
value?
readonlyoptionalvalue?:unknown
The validated plain result or rendered document value; absent unless a command completed validation.