CliNamer.GetOptionName Method
Definition
- Namespace
- DotMake.CommandLine
- Assembly
- DotMake.CommandLine.dll
Gets an auto or a specific option name for a symbol by using current DotMake.CommandLine.CliNamer.nameCasingConvention and DotMake.CommandLine.CliNamer.namePrefixConvention. Tracks used names and aliases and throws if name already exists.
Auto name is generated only when current DotMake.CommandLine.CliNamer.nameAutoGenerate contains Options.
public string GetOptionName(string symbolName, string specificName = null)