OptionDefinition.choices property
Home > streplts > OptionDefinition > choices
OptionDefinition.choices property
Section titled “OptionDefinition.choices property”An static string array or a dynamic evaluation closure generating eligible autocomplete variations for the option’s value.
Signature:
choices?: string[] | ((typed: string, previousArgs: string[], context: any, globals: any) => string[]) | null;