Interface: CommandOptions<Parameters, Flags>
Defined in: packages/core/src/types/command.ts:10
Extends
CommandCustomOptions
Extended by
Type Parameters
| Type Parameter | Default type |
|---|---|
Parameters extends readonly ParameterDefinitionValue[] | readonly ParameterDefinitionValue[] |
Flags extends ClercFlagsDefinition | ClercFlagsDefinition |
Properties
| Property | Type | Description | Inherited from | Defined in |
|---|---|---|---|---|
alias? | MaybeArray<string> | - | - | packages/core/src/types/command.ts:15 |
completions? | object | Completions options for the command. | CommandCustomOptions.completions | packages/plugin-completions/src/index.ts:17 |
completions.handler? | (command) => void | Handler to provide custom completions for the command. | - | packages/plugin-completions/src/index.ts:27 |
completions.show? | boolean | Whether to show the command in completions output. Default true | - | packages/plugin-completions/src/index.ts:23 |
flags? | Flags | - | - | packages/core/src/types/command.ts:17 |
help? | CommandHelpOptions | Help options for the command. | CommandCustomOptions.help | packages/plugin-help/src/index.ts:44 |
ignore? | IgnoreFunction | A callback function to conditionally stop parsing. When it returns true, parsing stops and remaining arguments are preserved in ignored. | - | packages/core/src/types/command.ts:23 |
parameters? | Parameters | - | - | packages/core/src/types/command.ts:16 |

