CliNamer Constructor

Initializes a new instance of the CliNamer class.

Definition

Namespace: DotMake.CommandLine
Assembly: DotMake.CommandLine (in DotMake.CommandLine.dll) Version: 2.6.7
C#
public CliNamer(
	CliNameAutoGenerate? nameAutoGenerate = null,
	CliNameCasingConvention? nameCasingConvention = null,
	CliNamePrefixConvention? namePrefixConvention = null,
	CliNameAutoGenerate? shortFormAutoGenerate = null,
	CliNamePrefixConvention? shortFormPrefixConvention = null,
	CliNamer parentNamer = null
)

Parameters

nameAutoGenerate  NullableCliNameAutoGenerate  (Optional)
A value which indicates whether names are automatically generated for commands, directives, options and arguments.
nameCasingConvention  NullableCliNameCasingConvention  (Optional)
The character casing convention used for automatically generated command, option and argument names.
namePrefixConvention  NullableCliNamePrefixConvention  (Optional)
The prefix convention used for automatically generated option names.
shortFormAutoGenerate  NullableCliNameAutoGenerate  (Optional)
A value which indicates whether short form aliases are automatically generated for commands and options.
shortFormPrefixConvention  NullableCliNamePrefixConvention  (Optional)
The prefix convention used for automatically generated short form option aliases.
parentNamer  CliNamer  (Optional)
The parent namer used to check names and aliases of sub-commands.

See Also