mirror of
https://github.com/modelec/cpp-lib.git
synced 2026-01-18 16:17:22 +01:00
17 lines
272 B
C++
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;
|
|
} |