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