CliOptionAttribute.AllowedValues Property
Definition
- Namespace
- DotMake.CommandLine
- Assembly
- DotMake.CommandLine.dll
Gets or sets the list of allowed values for an option.
Configures an option to accept only the specified values, and to suggest them as command line completions.
Note that if the option's argument type is an enum, values are automatically added.
public string[] AllowedValues { get; set; }
Property Value
- string[]