MCPcopy Create free account
hub / github.com/SpacehuhnTech/SimpleCLI / arg_create_req_positional

Function arg_create_req_positional

src/c/arg.c:43–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41}
42
43arg* arg_create_req_positional(const char* name) {
44 return arg_create(name, NULL, ARG_POS, ARG_REQ);
45}
46
47arg* arg_create_flag(const char* name, const char* default_value) {
48 return arg_create(name, default_value, ARG_FLAG, ARG_OPT);

Callers 2

addPosArgMethod · 0.85
cmd_parseFunction · 0.85

Calls 1

arg_createFunction · 0.85

Tested by

no test coverage detected