You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
405 B
20 lines
405 B
#include "args.hpp"
|
|
#include <iostream>
|
|
#include <string>
|
|
#include <vector>
|
|
|
|
int main(int argc, char **argv) try {
|
|
|
|
std::vector<std::string> args;
|
|
|
|
for (int i = 0; i < argc; ++i)
|
|
args.push_back(argv[i]);
|
|
|
|
auto output = cmkr::args::handle_args(args);
|
|
|
|
std::cout << output << std::endl;
|
|
|
|
return 0;
|
|
} catch (const std::exception &e) {
|
|
std::cerr << e.what() << std::endl;
|
|
} |