runCli
●test-convex · /index·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.
Related
DaemonOptions runDaemon SeedClerkOperatorOptions SeedCmsOptions SeedCanonicalOptions SeedClerkOperatorView SeedShopOptions seedCanonical
resolveConvexStateDir
Resolves the projectlocal Convex state directory (<projectDir/.convex) the local/anonymous backend persists its SQLite database, storage, and deployment config
runDaemon
Longrunning foreground process: spins up a Convex backend via , writes PID, URL, and adminkey marker files, and idles until SIGTERM/SIGINT. Intended for pnpm de