@SafeVarargs
    public final SubCommandSet addAll(SubCommand<SubCommandDef>... subCommands) {
        for (SubCommand<SubCommandDef> subCommand : subCommands) {
            add(subCommand);
        }
        return this;
    }
@ SafeVarargs public final SubCommandSet addAll ( SubCommand < SubCommandDef > ... subCommands ) { for ( SubCommand < SubCommandDef > subCommand : subCommands ) { add ( subCommand ) ; } return this ; }
Add a set of sub-commands to the sub-command-set.

@param subCommands The sub-commands to add.
@return The sub-command-set.