Type Alias: ArrayOptionConfig<TCoerce, TChoices>
ArrayOptionConfig<
TCoerce
,TChoices
>:StringArrayOptionConfig
<TCoerce
,TChoices
> |NumberArrayOptionConfig
<TCoerce
,TChoices
>
Configuration for array options. Arrays are parsed from comma separated, space separated, or multiple values.
e.g. --foo a b c
, --foo a,b,c
, or --foo a --foo b --foo c
Type Parameters
• TCoerce = string
| number
• TChoices = TCoerce
[]