BuilderCommand constructor

BuilderCommand()

Creates a new BuilderCommand and registers platform-specific build subcommands.

Available subcommands:

  • android - Build Android APK or AAB files
  • ios - Build iOS IPA files (only available on macOS)
  • custom - Build using custom configuration

Implementation

BuilderCommand() {
  // Add Android build command (available on all platforms)
  addSubcommand(android_command.Command());

  // Add iOS build command (only available on macOS)
  if (Platform.isMacOS) addSubcommand(ios_command.Command());

  // Add custom build command (available on all platforms)
  addSubcommand(custom_command.Command());
}