载入中...
搜索中...
未找到
eve::cmd::RunArgs结构体 参考
类 eve::cmd::RunArgs 继承关系图:
eve::cmd::Handler

Public 成员函数

void setup (CLI::App &app, std::shared_ptr< CLI::Formatter > formatter) override
 Registers options on the CLI11 sub-app.
 
int parse (CLI::App &app, Cmdline &cmd) override
 Parses arguments and runs the command; returns the exit code.
 
- Public 成员函数 继承自 eve::cmd::Handler
virtual ~Handler ()
 

Public 属性

std::string log_path
 
std::string root_path
 
std::string dev_server
 
bool no_window = false
 
bool debug = false
 
int dap_port = 0
 
int mcp_port = 0
 

详细描述

在文件 Run.cpp65 行定义.

成员函数说明

◆ parse()

int eve::cmd::RunArgs::parse ( CLI::App &  ,
Cmdline  
)
inlineoverridevirtual

Parses arguments and runs the command; returns the exit code.

实现了 eve::cmd::Handler.

在文件 Run.cpp86 行定义.

引用了 dap_port, debug, dev_server, eve::cmd::Cmdline::get_remaining(), eve::cmd::Cmdline::getArgc(), eve::load_content, mcp_port, root_path , 以及 eve::cmd::Cmdline::Run().

◆ setup()

void eve::cmd::RunArgs::setup ( CLI::App &  ,
std::shared_ptr< CLI::Formatter >   
)
inlineoverridevirtual

Registers options on the CLI11 sub-app.

实现了 eve::cmd::Handler.

在文件 Run.cpp71 行定义.

引用了 dap_port, debug, dev_server, log_path, mcp_port, no_window , 以及 root_path.

类成员变量说明

◆ dap_port

int eve::cmd::RunArgs::dap_port = 0

在文件 Run.cpp68 行定义.

被这些函数引用 parse() , 以及 setup().

◆ debug

bool eve::cmd::RunArgs::debug = false

在文件 Run.cpp67 行定义.

被这些函数引用 parse() , 以及 setup().

◆ dev_server

std::string eve::cmd::RunArgs::dev_server

在文件 Run.cpp66 行定义.

被这些函数引用 parse() , 以及 setup().

◆ log_path

std::string eve::cmd::RunArgs::log_path

在文件 Run.cpp66 行定义.

被这些函数引用 setup().

◆ mcp_port

int eve::cmd::RunArgs::mcp_port = 0

在文件 Run.cpp69 行定义.

被这些函数引用 parse() , 以及 setup().

◆ no_window

bool eve::cmd::RunArgs::no_window = false

在文件 Run.cpp67 行定义.

被这些函数引用 setup().

◆ root_path

std::string eve::cmd::RunArgs::root_path

在文件 Run.cpp66 行定义.

被这些函数引用 parse() , 以及 setup().


该结构体的文档由以下文件生成: