Function: runOnboardCli()¶
Defined in: rine-ts-sdk/src/onboard-cli.ts:11
Parse argv (the slice AFTER the onboard subcommand) and run the flow. A parse
error prints the message and the connector's usage line, sets a non-zero exit
code and returns undefined; otherwise returns the new agent's handle.
Parameters¶
| Parameter | Type | Default value |
|---|---|---|
connector |
OnboardConnector |
undefined |
argv |
readonly string[] |
undefined |
closingLines |
readonly string[] |
undefined |
io |
OnboardIO |
stdoutOnboardIO |
Returns¶
Promise\<string | undefined>