Table of Contents

CliNamer.GetCommandName Method

Definition

Namespace
DotMake.CommandLine
Assembly
DotMake.CommandLine.dll

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

Auto name is generated only when current DotMake.CommandLine.CliNamer.nameAutoGenerate contains Commands.

public string GetCommandName(string symbolName, string specificName = null)

Parameters

symbolName string
specificName string

Returns

string