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

Name

Description

cmd

The command name to register.

help

Help text describing the command.

options

Names of options valid for this command.

Created with MrDocs