Function: cli()
cli(
registry,argv,name,io?):Promise<number>
Defined in: cli.ts:19
Exposes the registry as a CLI named name: one subcommand per command, one option per parameter, all derived. Resolves to the exit code; the caller decides whether to exit the process.
Parameters
registry
argv
readonly string[]
name
string
io?
Io = stdio
Returns
Promise<number>