1 Command, a C++ library for handling command line arguments
3 Designing to be used like follows:
6 command::Command command(argc, argv, {
7 command::Option<std::string>("f", "File path", [](std::string value)->void { cout << "Sth: " << value << endl; }),
8 command::Argument<std::string>("File path", []()->void { cout << "Sth: " << value << endl; }),
9 command::Option<void>("help", "Help description", [](void)->void { cout << "Sth: " << value << endl; }),
10 command::Option<void>("verbose", "Verbose option description", &myClass->verbose)