private string GetCommandName(string name) { string commandName; return AliasMap.TryGetValue(name, out commandName) ? commandName : name; }