Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/alibaba/MNN
/ SetCommandSpec
Method
SetCommandSpec
apps/mnncli/src/cli_command_parser.cpp:18–20 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
16
}
17
18
void CommandParser::SetCommandSpec(const CommandSpec& spec) {
19
spec_ = &spec;
20
}
21
22
bool CommandParser::IsShortOption(const std::string& arg) {
23
return arg.size() >= 2 && arg[0] ==
'-'
&& arg[1] !=
'-'
;
Callers
1
Run
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected