Skip to content

lightgun-poc / lib/cli / runCli

Function: runCli() ​

runCli(argv?, deps?): Promise<number>

Defined in: lib/cli.ts:382

Runs one CLI invocation.

Parameters ​

argv? ​

string[] = ...

deps? ​

CliDeps = {}

Returns ​

Promise<number>

The process exit code. serve returns 0 once the server is listening — the process then stays alive on its own handles.

Released under the MIT License.