MCPcopy Create free account
hub / github.com/WasmVM/WasmVM / parse

Function parse

test/exec/commandparser/commandparser.cpp:28–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26static const char* ARGV_NONE[] = {"prog", "main.wasm"};
27
28static CommandParser parse(int argc, const char** argv){
29 return CommandParser(argc, argv, {
30 CommandParser::Optional("--no-system", "Disable system module path", "-ns"),
31 CommandParser::Optional("--version", "Show version", "-v"),
32 CommandParser::Optional("--output", "Output file", 1, "-o"),
33 CommandParser::Fixed("input", "input file", 1),
34 });
35}
36
37Suite commandparser {
38 Test("multi_char_short_alias", {

Callers 1

commandparser.cppFile · 0.85

Calls 3

CommandParserClass · 0.85
OptionalClass · 0.85
FixedClass · 0.85

Tested by

no test coverage detected