Interface: CommandOptions<Parameters, Flags>
Defined in: packages/core/src/types/command.ts:9
Extends
Extended by
Type Parameters
| Type Parameter | Default type |
|---|---|
Parameters extends readonly string[] | readonly string[] |
Flags extends ClercFlagsDefinition | ClercFlagsDefinition |
Properties
| Property | Type | Description | Inherited from | Defined in |
|---|---|---|---|---|
alias? | MaybeArray<string> | - | - | packages/core/src/types/command.ts:13 |
completions? | object | Completions options for the command. | CommandCustomOptions.completions | packages/plugin-completions/src/index.ts:12 |
completions.show? | boolean | Whether to show the command in completions output. Default true | - | packages/plugin-completions/src/index.ts:18 |
flags? | Flags | - | - | packages/core/src/types/command.ts:15 |
help? | CommandHelpOptions | Help options for the command. | CommandCustomOptions.help | packages/plugin-help/src/index.ts:43 |
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:20 |
parameters? | Parameters | - | - | packages/core/src/types/command.ts:14 |

