CliCommandAttribute.ShortFormPrefixConvention Property
Definition
- Namespace
- DotMake.CommandLine
- Assembly
- DotMake.CommandLine.dll
Gets or sets the prefix convention to use for automatically generated short form aliases of options.
For options, short forms typically have a leading delimiter (e.g. -o or --o or /o).
This setting will be inherited by subcommands. This setting can be overriden by a subcommand in the inheritance chain.
Default is SingleHyphen (e.g. -o).
public CliNamePrefixConvention ShortFormPrefixConvention { get; set; }