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

Method add_flag

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

Add a flag with no description or variable assignment

Source from the content-addressed store, hash-verified

5232 public:
5233 /// Add a flag with no description or variable assignment
5234 Option *add_flag(std::string flag_name) { return _add_flag_internal(flag_name, CLI::callback_t(), std::string{}); }
5235
5236 /// Add flag with description but with no variable assignment or callback
5237 /// takes a constant string, if a variable string is passed that variable will be assigned the results from the

Callers

nothing calls this directly

Calls 6

sum_flag_vectorFunction · 0.85
lexical_castFunction · 0.85
emplace_backMethod · 0.80
backMethod · 0.80
multi_option_policyMethod · 0.45

Tested by

no test coverage detected