MCPcopy 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
18void CommandParser::SetCommandSpec(const CommandSpec& spec) {
19 spec_ = &spec;
20}
21
22bool CommandParser::IsShortOption(const std::string& arg) {
23 return arg.size() >= 2 && arg[0] == '-' && arg[1] != '-';

Callers 1

RunMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected