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