ArgsManager::AddCommand

Add command

Synopsis

Declared in <common/args.h>

[[requires_capability(0x7f9524a23888)]]
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.