createGroup method

Implementation

CommandDeclarationBuilder createGroup(
    CommandGroupBuilder Function(CommandGroupBuilder) group) {
  final builder = CommandGroupBuilder();
  group(builder);

  groups.add(builder);
  return this;
}