26 arser.add_argument(
"circle").help(
"Circle file path to dump");
30 arser.parse(argc, argv);
32 catch (
const std::runtime_error &err)
34 std::cout << err.what() <<
'\n';
39 std::string circle_path =
arser.get<std::string>(
"circle");
42 std::vector<char> modelData = fileLoader.
load();
43 const circle::Model *circlemodel = circle::GetModel(modelData.data());
45 if (circlemodel ==
nullptr)
47 std::cerr <<
"ERROR: Failed to load circle '" << circle_path <<
"'" << std::endl;
51 std::cout <<
"Dump: " << circle_path << std::endl << std::endl;
54 modelex.
model = circlemodel;
57 std::cout << modelex << std::endl;