1 #ifndef BLANK_SHARED_CLI_HPP_
2 #define BLANK_SHARED_CLI_HPP_
11 class TokenStreamReader;
19 virtual void Execute(CLI &, CLIContext &, TokenStreamReader &) = 0;
23 explicit CLI(World &);
26 void AddCommand(const std::string &name, Command *);
28 void Execute(CLIContext &, const std::string &);
30 World &GetWorld() noexcept { return world; }
34 std::map<std::string, Command *> commands;