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

Method require_subcommand

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

The argumentless form of require subcommand requires 1 or more subcommands

Source from the content-addressed store, hash-verified

5604
5605 /// The argumentless form of require subcommand requires 1 or more subcommands
5606 App *require_subcommand() {
5607 require_subcommand_min_ = 1;
5608 require_subcommand_max_ = 0;
5609 return this;
5610 }
5611
5612 /// Require a subcommand to be given (does not affect help call)
5613 /// The number required can be given. Negative values indicate maximum

Callers 2

ConfCmdMethod · 0.80
RootCmdMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected