Table of Contents

CliCommandAttribute.ShortFormAutoGenerate Property

Definition

Namespace
DotMake.CommandLine
Assembly
DotMake.CommandLine.dll

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.

public CliNameAutoGenerate ShortFormAutoGenerate { get; set; }

Property Value

CliNameAutoGenerate