Table of Contents

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

nameAutoGenerate CliNameAutoGenerate?

A value which indicates whether names are automatically generated for commands, directives, options and arguments.

nameCasingConvention CliNameCasingConvention?

The character casing convention used for automatically generated command, option and argument names.

namePrefixConvention CliNamePrefixConvention?

The prefix convention used for automatically generated option names.

shortFormAutoGenerate CliNameAutoGenerate?

A value which indicates whether short form aliases are automatically generated for commands and options.

shortFormPrefixConvention CliNamePrefixConvention?

The prefix convention used for automatically generated short form option aliases.

parentNamer CliNamer

The parent namer used to check names and aliases of sub-commands.