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