CliNamer.CliNamer Constructor
Definition
- Namespace
- DotMake.CommandLine
- Assembly
- DotMake.CommandLine.dll
Initializes a new instance of the CliNamer class.
public CliNamer(CliNameAutoGenerate? nameAutoGenerate = null, CliNameCasingConvention? nameCasingConvention = null, CliNamePrefixConvention? namePrefixConvention = null, CliNameAutoGenerate? shortFormAutoGenerate = null, CliNamePrefixConvention? shortFormPrefixConvention = null, CliNamer parentNamer = null)
Parameters
nameAutoGenerateCliNameAutoGenerate?A value which indicates whether names are automatically generated for commands, directives, options and arguments.
nameCasingConventionCliNameCasingConvention?The character casing convention used for automatically generated command, option and argument names.
namePrefixConventionCliNamePrefixConvention?The prefix convention used for automatically generated option names.
shortFormAutoGenerateCliNameAutoGenerate?A value which indicates whether short form aliases are automatically generated for commands and options.
shortFormPrefixConventionCliNamePrefixConvention?The prefix convention used for automatically generated short form option aliases.
parentNamerCliNamerThe parent namer used to check names and aliases of sub-commands.