clerc
Namespaces
| Namespace | Description |
|---|---|
| Parser | - |
| Types | - |
Classes
| Class | Description |
|---|---|
| Clerc | - |
| InvalidCommandError | - |
| InvalidParametersError | - |
| MissingRequiredFlagError | - |
| MissingRequiredMetadataError | - |
| NoCommandSpecifiedError | - |
| NoSuchCommandError | - |
Interfaces
| Interface | Description |
|---|---|
| BaseContext | - |
| Command | - |
| CommandCustomOptions | - |
| CommandHelpOptions | - |
| CommandOptions | - |
| ContextStore | - |
| CreateOptions | - |
| FlagCustomOptions | - |
| FriendlyErrorPluginOptions | - |
| GroupsOptions | Options for defining groups in help output. |
| HelpOptions | - |
| HelpPluginOptions | - |
| InterceptorObject | - |
| NotFoundPluginOptions | - |
| ParameterCustomOptions | - |
| ParseOptions | - |
| Plugin | - |
| UpdateNotifierPluginOptions | - |
Type Aliases
| Type Alias | Description |
|---|---|
| ClercFlagDefinitionValue | - |
| ClercFlagOptions | - |
| ClercFlagsDefinition | - |
| CommandHandler | - |
| CommandHandlerContext | - |
| CommandsMap | - |
| CommandsRecord | - |
| CommandWithHandler | - |
| ErrorHandler | - |
| GroupDefinition | A group definition as a tuple of [key, displayName]. The key is used in help options to assign items to groups. The displayName is shown in the help output. |
| InferParameters | - |
| Interceptor | - |
| InterceptorContext | - |
| InterceptorHandler | - |
| InterceptorNext | Function to call the next interceptor in the chain. MUST be awaited. |
| MakeEmitterEvents | - |
| ParameterDefinitionValue | - |
| ParameterOptions | - |
Variables
| Variable | Description |
|---|---|
| defaultFormatters | - |
| DOUBLE_DASH | - |
| KNOWN_FLAG | - |
| PARAMETER | - |
| UNKNOWN_FLAG | - |
Functions
| Function | Description |
|---|---|
| Cli | - |
| completionsPlugin | - |
| createStopAtFirstParameter | - |
| defineCommand | - |
| definePlugin | - |
| extractParameterInfo | - |
| friendlyErrorPlugin | - |
| helpPlugin | - |
| normalizeFlagValue | - |
| normalizeParameterValue | - |
| notFoundPlugin | - |
| resolveCommand | - |
| strictFlagsPlugin | - |
| updateNotifierPlugin | Plugin to check for CLI updates using update-notifier. |
| versionPlugin | - |
References
InvalidSchemaError
Re-exports InvalidSchemaError

