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

Method make_positionals

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

Source from the content-addressed store, hash-verified

7868}
7869
7870inline std::string Formatter::make_positionals(const App *app) const {
7871 std::vector<const Option *> opts =
7872 app->get_options([](const Option *opt) { return !opt->get_group().empty() && opt->get_positional(); });
7873
7874 if (opts.empty()) return std::string();
7875
7876 return make_group(get_label("Positionals"), true, opts);
7877}
7878
7879inline std::string Formatter::make_groups(const App *app, AppFormatMode mode) const {
7880 std::stringstream out;

Callers

nothing calls this directly

Calls 3

get_optionsMethod · 0.80
get_positionalMethod · 0.80
emptyMethod · 0.45

Tested by

no test coverage detected