The type of single Argument values which are supported.
A container object for populated argument values.
The type of the value to be parsed as an argument can be: boolean
, number
or string
or an array of these.
Enum of possible Argument value types.
Color scheme for syntax highlighting.
- getGlobalCommandByName
- getGlobalCommands
- getGlobalCommandsByShortAlias
- getGlobalModifierCommandByName
- getGlobalModifierCommands
- getGlobalModifierCommandsByNameNotProvidedByService
- getGlobalModifierCommandsByNameProvidedByService
- getGlobalModifierCommandsByShortAliasNotProvidedByService
- getGlobalModifierCommandsByShortAliasProvidedByService
- getGroupAndMemberCommandsByJoinedName
- getGroupCommandAndMemberSubCommandByJoinedName
- getGroupCommandByName
- getGroupCommands
- getNonModifierCommandsByName
- getSubCommandByName
- getSubCommands
A container option argument for defining SubCommand nested argument hierarchies.
Only possible value for ComplexOption.type.
Default implementation of PrettyPrinterService which provides by default the syntaxes built into prettier.
Default Bun implementation of a CLI using process.stdout
, process.stderr
and process.argv
.
Default implementation of SyntaxHighlighterService which has a syntax definition for JSON already registered.
Interface to be implemented by a single Argument defined by a GlobalCommand.
Enum of message icons.
Possible reasons for an invalid argument.
Service providing keystore functionality for the CLI. The keystore data is scoped to the service or Command instances accessing this service via Context.getServiceById
Launch a DefaultRuntimeCLI with multiple specified Command instances.
Launch a DefaultRuntimeCLI with a single specified SubCommand instance.
Enum of message importance level.
Populated single value type is very similar to ArgumentSingleValueType but allows for an illegal undefined value.
Populated values are very similar to ArgumentValues but allow for illegal undefined properties and array entries.
Populated argument value types are very similar to ArgumentValueType but allow for illegal undefined values.
Service providing syntax based pretty printing of text for the CLI using prettier.
Service allowing a Command to output user messages to stdout
and/or stderr
.
Interface allowing services to be provided to the CLI.
Interface used by a CLI to register ServiceProvider instances.
Service providing syntax based color highlighting of text for the CLI using highlight.js.
A usage example for a SubCommand to be used in help output.