Skip to content

lightgun-poc / lib/cli / buildParser

Function: buildParser() ​

buildParser(argv, deps?): Argv<{ }>

Defined in: lib/cli.ts:108

Builds the parser. Split out from runCli so the flag surface — names, defaults, choices, help text — can be asserted without booting a server.

Parameters ​

argv ​

string[]

deps? ​

CliDeps = {}

Returns ​

Argv<{ }>

Released under the MIT License.