runCli
●test-convex · /cli·async function
Dispatches a test-convex subcommand and returns its process exit code.
Returning a code (rather than calling process.exit) keeps the dispatcher
importable and unit-testable without tearing down the test runner.
Signature
function runCli(argv: string[]): Promise<number>;Parameters
| Name | Type | Description |
|---|---|---|
argv | string[] |
Returns
The exit code: 0 on success, 1 for usage errors.