#include "utils/CLI.h" #include CLIOptions ParseCLI(int argc, char** argv) { if (argc <= 1) { throw std::runtime_error("用法: compiler "); } CLIOptions opt; opt.input = argv[1]; return opt; }