void registerCommand(CLICommand cmd) { _commandMap[cmd.name] = cmd; options.addCommand(cmd.name, cmd.options); }