CliCommandAttributeShortFormAutoGenerate Property

Gets or sets a value which indicates whether short form aliases are automatically generated names of commands and options.

First letters of every word in the name will be used to create short form to reduce conflicts. These first letters are converted according to NameCasingConvention.

For options, short forms typically have a leading delimiter (e.g. -o or --o or /o). Default delimiter (e.g. -o) is changed via ShortFormPrefixConvention.

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 ShortFormAutoGenerate { get; set; }

Property Value

CliNameAutoGenerate

See Also