addSubCommand method
Implementation
CommandBuilder addSubCommand(
SubCommandBuilder Function(SubCommandBuilder) command) {
final builder = SubCommandBuilder();
command(builder);
_subCommands.add(builder);
return this;
}
CommandBuilder addSubCommand(
SubCommandBuilder Function(SubCommandBuilder) command) {
final builder = SubCommandBuilder();
command(builder);
_subCommands.add(builder);
return this;
}