public AgentCommands() { memories = new Memories(); reminders = new Reminders(); definitions = new Definitions(); commands = new Dictionary <string, AgentCommand> { { "remember", new AgentCommand { Exec = Remember, Params = new List <string> { "this", "when" } } }, { "recall", new AgentCommand { Exec = Recall } }, { "remind", new AgentCommand { Exec = Remind, Params = new List <string> { "on", "message", "repeat" } } }, { "define", new AgentCommand { Exec = Define } }, { "hilight", new AgentCommand { Exec = Hilight, Params = new List <string> { "bg", "fg", "st", "wt" } } }, { "map", new AgentCommand { Exec = Map, Params = new List <string> { "mode", "macro" } } }, { "source", new AgentCommand { Exec = Source } }, { "help", new AgentCommand { Exec = Help } }, }; }
public AgentCommands() { memories = new Memories(); reminders = new Reminders(); definitions = new Definitions(); commands = new Dictionary<string, AgentCommand>{ { "remember", new AgentCommand{ Exec = Remember, Params = new List<string> { "this", "when" } } }, { "recall", new AgentCommand{ Exec = Recall } }, { "remind", new AgentCommand{ Exec = Remind, Params = new List<string> { "on", "message", "repeat" } } }, { "define", new AgentCommand{ Exec = Define } }, { "hilight", new AgentCommand{ Exec = Hilight, Params = new List<string> { "bg", "fg", "st", "wt" } } }, { "map", new AgentCommand{ Exec = Map, Params = new List<string> { "mode", "macro" } } }, { "source", new AgentCommand{ Exec = Source } }, { "help", new AgentCommand{ Exec = Help } }, }; }