addSubcommand method

void addSubcommand(
  1. AFCommand cmd
)

Implementation

void addSubcommand(AFCommand cmd) {
  subcommands[cmd.name] = cmd;
}