private static void printCommand(CommandHandlerParameter command) { Console.WriteLine(""); Console.WriteLine("\t{2} : {0} ({1})", command.GetDescription(Environment.NewLine + "\t"), command.Language, command.Name); }
public LanguageHandler(LanguagePlugin plugin) { _plugin = plugin; Command = _plugin.GetLanguage(); Usage = new CommandHandlerParameter( Command, CommandType.LanguageCommand, Command, "Commands for the " + Command + " plugin"); _plugin.GetUsages().ToList() .ForEach(x => Usage.Add(x)); }
public BuiltInCommand(string name, CommandHandlerParameter usage) { Name = name; Usage = usage; }