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

@nordcom/commerce-test-convex
function runCli(argv: string[]): Promise<number>;

Parameters

NameTypeDescription
argvstring[]

Returns

The exit code: 0 on success, 1 for usage errors.

Sourcecli.ts:158Edit the JSDoc directly
Metadata@nordcom/commerce-test-convex@0.0.0Open in GitHub ↗

On this page