refactor(dev): 移动头文件位置
This commit is contained in:
14
include/utils/CLI.h
Normal file
14
include/utils/CLI.h
Normal file
@@ -0,0 +1,14 @@
|
||||
// 简易命令行解析:支持帮助、输入文件与输出阶段选择。
|
||||
#pragma once
|
||||
|
||||
#include <string>
|
||||
|
||||
struct CLIOptions {
|
||||
std::string input;
|
||||
bool emit_parse_tree = false;
|
||||
bool emit_ir = true;
|
||||
bool emit_asm = false;
|
||||
bool show_help = false;
|
||||
};
|
||||
|
||||
CLIOptions ParseCLI(int argc, char** argv);
|
||||
Reference in New Issue
Block a user