launchSingleCommandCLI(command: SubCommand,description?: string,name?: string,version?: string,envVarsEnabled?: boolean,configEnabled?: boolean,keyValueServiceEnabled?: boolean,serviceProviders?: ReadonlyArray<ServiceProvider>,): Promise<RunResult>
Launch a DefaultRuntimeCLI with a single specified SubCommand instance.
command: SubCommand
the SubCommand to add to the CLI.
optional name of the CLI. If not provided, process.execPath
will be used in an attempt to derive the name.
optionally support checking env variables for default argument values.
optionally enable configuration file support for default argument values.
optionally provide a KeyValueService implementation: configEnabled
must be true in this case
optional
serviceProviders: ReadonlyArray<ServiceProvider>
optional array of ServiceProvider instances to add to the CLI.
Promise<RunResult>