Table of Contents

CliNamer.GetCommandAliases Method

Definition

Namespace
DotMake.CommandLine
Assembly
DotMake.CommandLine.dll

Gets specific command aliases for a symbol, or auto generated ones by using current DotMake.CommandLine.CliNamer.nameCasingConvention.

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

Auto short form alias is added only when current DotMake.CommandLine.CliNamer.shortFormAutoGenerate contains Commands and it is shorter than command name.

public IEnumerable<string> GetCommandAliases(string symbolName)

Parameters

symbolName string

Returns

IEnumerable<string>