Files
cpp-lib/example/parser.example.cpp
2024-05-23 16:17:59 +02:00

17 lines
272 B
C++

#include <Modelec/CLParser.h>
#include <iostream>
struct B {
std::string a;
};
int main(int argc, char* argv[]) {
CLParser parser(argc, argv);
int port = parser.getOption("port", 12);
auto test = parser.getOption("host", "127.0.0.1");
return 0;
}