1 #ifndef BLANK_SHARED_CLI_HPP_
2 #define BLANK_SHARED_CLI_HPP_
11 class TokenStreamReader;
19 virtual void Execute(CLI &, Player &, TokenStreamReader &) = 0;
23 explicit CLI(World &);
26 void AddCommand(const std::string &name, Command *);
28 void Execute(Player &, const std::string &);
30 void Message(const std::string &msg);
31 void Error(const std::string &msg);
35 std::map<std::string, Command *> commands;