Table of Contents

CliNamer.GetOptionAliases Method

Definition

Namespace
DotMake.CommandLine
Assembly
DotMake.CommandLine.dll

Gets specific option 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 Options.

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

public IEnumerable<string> GetOptionAliases(string symbolName)

Parameters

symbolName string

Returns

IEnumerable<string>