CliNamerGetCommandName Method

Gets an auto or a specific command name for a symbol by using current nameCasingConvention. Tracks used names and aliases and throws if name already exists.

Auto name is generated only when current nameAutoGenerate contains Commands.

Definition

Namespace: DotMake.CommandLine
Assembly: DotMake.CommandLine (in DotMake.CommandLine.dll) Version: 2.6.7
C#
public string GetCommandName(
	string symbolName,
	string specificName = null
)

Parameters

symbolName  String

[Missing <param name="symbolName"/> documentation for "M:DotMake.CommandLine.CliNamer.GetCommandName(System.String,System.String)"]

specificName  String  (Optional)

[Missing <param name="specificName"/> documentation for "M:DotMake.CommandLine.CliNamer.GetCommandName(System.String,System.String)"]

Return Value

String

[Missing <returns> documentation for "M:DotMake.CommandLine.CliNamer.GetCommandName(System.String,System.String)"]

See Also