MCPcopy Create free account
hub / github.com/Tencent/TAD_Sim / get_positional

Method get_positional

simcore/framework/src/cli/cli.hpp:4012–4012  ·  view source on GitHub ↗

True if the argument can be given directly

Source from the content-addressed store, hash-verified

4010
4011 /// True if the argument can be given directly
4012 bool get_positional() const { return pname_.length() > 0; }
4013
4014 /// True if option has at least one non-positional name
4015 bool nonpositional() const { return (snames_.size() + lnames_.size()) > 0; }

Callers 6

_add_flag_internalMethod · 0.80
_parse_positionalMethod · 0.80
make_positionalsMethod · 0.80
make_usageMethod · 0.80

Calls 1

lengthMethod · 0.45

Tested by

no test coverage detected