MCPcopy Create free account
hub / github.com/CLIUtils/CLI11 / main

Function main

fuzz/fuzzCommand.cpp:11–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9#include <iostream>
10
11int main(int argc, char **argv) {
12
13 CLI::FuzzApp fuzzdata;
14
15 auto app = fuzzdata.generateApp();
16 try {
17
18 app->parse(argc, argv);
19 } catch(const CLI::ParseError &e) {
20 (app)->exit(e);
21 // this just indicates we caught an error known by CLI
22 }
23
24 return 0;
25}

Callers

nothing calls this directly

Calls 3

generateAppMethod · 0.80
parseMethod · 0.80
exitMethod · 0.80

Tested by

no test coverage detected