Table of Contents

CliCommandAttribute.NameAutoGenerate Property

Definition

Namespace
DotMake.CommandLine
Assembly
DotMake.CommandLine.dll

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.

public CliNameAutoGenerate NameAutoGenerate { get; set; }

Property Value

CliNameAutoGenerate