addCliCommand method
Implementation
void addCliCommand(CliCommand subCommand) {
addSubcommand(subCommand as Command<CommandResult<R>>);
commands[subCommand.name] = subCommand;
}
void addCliCommand(CliCommand subCommand) {
addSubcommand(subCommand as Command<CommandResult<R>>);
commands[subCommand.name] = subCommand;
}