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