ArgsManager::AddCommand

Add command

Synopsis

Declared in <common/args.h>

[[requires_capability(0x7f2e381ae4e8)]]
void
AddCommand(
    std::string const& cmd,
    std::string const& help,
    std::set<std::string> options = {});

Parameters

NameDescription
cmdThe command name to register.
helpHelp text describing the command.
optionsNames of options valid for this command.