CliCommandAttributeNameAutoGenerate Property

Gets or sets a value which indicates whether names are automatically generated for commands, directives, options and arguments.

Names are converted according to NameCasingConvention.

For options, names typically have a leading delimiter (e.g. --option, -option or /option). Default delimiter (e.g. --option) is changed via NamePrefixConvention.

This setting will be inherited by subcommands. This setting can be overriden by a subcommand in the inheritance chain.

Default is All.

Definition

Namespace: DotMake.CommandLine
Assembly: DotMake.CommandLine (in DotMake.CommandLine.dll) Version: 2.5.0
C#
public CliNameAutoGenerate NameAutoGenerate { get; set; }

Property Value

CliNameAutoGenerate

See Also