Interface: CombinatorOptions<T>
WARNING
This API is experimental and may change in future versions.
Options for the combinator factory function.
Extends
Signature
ts
interface CombinatorOptions<T> extends BaseOptionsType Parameters
| Name | Description |
|---|---|
T | The parsed value type. |
Properties
| Name | Type | Description |
|---|---|---|
metavar (optional) | string | Display name hint for help text generation. Default: 'custom' |
parse | (value: string) => T | The parse function that converts a string to the desired type. |
parse Parameters
| Name | Type | Description |
|---|---|---|
value | string | The input string value. |
parse Returns
T — The parsed value of type T.
