public string[] GetCommandParams(string command) { CommandInfo info; if (commands.TryGetValue(command, out info)) { return info.Parameters; } else return null; }