8 void some_function(bool a) {
9 std::cout << "Some function " << a << std::endl;
12 void help_function(std::string a) {
13 std::cout << "Some function " << a << std::endl;
16 int main(int argc, char *argv[]) {
17 command::Command command(argc, argv, {
18 // new command::Argument<std::string>("File path", [](std::string value)->void { std::cout << "Hello from lambda " << value << std::endl; }),
19 new command::Argument<bool>("File path", some_function),
20 new command::Option<std::string>("h", "Help", help_function)