CliOptionAttribute.Aliases Property
Definition
- Namespace
- DotMake.CommandLine
- Assembly
- DotMake.CommandLine.dll
Gets or sets the set of alternative strings that can be used on the command line to specify the option.
If you want to set a single alias, you can use Alias.
When manually setting an alias, if you don't specify a prefix, it will be prefixed automatically according to NamePrefixConvention
(e.g. --option, -option or /option) unless it's set to None.
The aliases will be also displayed in usage help of the command line application.
public string[] Aliases { get; set; }
Property Value
- string[]