buildCommand top-level property

FigSubcommand buildCommand
final

Implementation

final FigSubcommand buildCommand = FigSubcommand(
  name: ['build'],
  description:
      'Builds the project for iOS and produces an APP or IPA that you can manually deploy in the iOS Simulator or on a device',
  subcommands: [
    FigSubcommand(
      name: ['android'],
      options: [...buildBothOptions, ...buildAndroidOptions],
      priority: 90,
    ),
    FigSubcommand(
      name: ['ios'],
      options: [...buildBothOptions, ...buildIosOptions],
      priority: 90,
    ),
  ],
  options: [
    ...buildBothOptions,
    FigOption(
        name: ['--hmr'],
        description: 'Enables the hot module replacement (HMR) feature'),
    justLaunchOption,
    helpOption('build'),
  ],
);