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

Method make_subcommand

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

Source from the content-addressed store, hash-verified

8037}
8038
8039inline std::string Formatter::make_subcommand(const App *sub) const {
8040 std::stringstream out;
8041 detail::format_help(out, sub->get_name(), sub->get_description(), column_width_);
8042 return out.str();
8043}
8044
8045inline std::string Formatter::make_expanded(const App *sub) const {
8046 std::stringstream out;

Callers

nothing calls this directly

Calls 3

strMethod · 0.80
get_nameMethod · 0.45
get_descriptionMethod · 0.45

Tested by

no test coverage detected