5 #include <unordered_map> 10 std::string abbreviation_;
11 std::string fullname_;
12 std::string description_;
19 ArgParser(
const std::string& executable_name);
20 ArgParser(
const std::string& usage,
const std::string& description,
const std::string& example=
"");
23 void AddOptions(
const std::vector<Arg>& options);
24 bool Parse(
int argc,
char* argv[]);
27 bool Get(
const std::string& identifier, std::string& value);
32 std::vector<Arg> options_;
33 std::unordered_map<std::string, std::string> abbv_to_full_;
34 std::unordered_map<std::string, std::string> full_to_value_;
37 std::string description_;
39 std::string executable_name_;
Definition: sc2_action.h:9
Definition: sc2_arg_parser.h:16
Definition: sc2_arg_parser.h:9