prepareCommand top-level property

FigSubcommand prepareCommand
final

Implementation

final FigSubcommand prepareCommand = FigSubcommand(
  name: ['prepare'],
  description:
      'Starts a Webpack compilation and prepares the app\'s App_Resources and the plugins platforms directories',
  subcommands: [
    FigSubcommand(
      name: ['android'],
      description: 'Prepares your project for an Android build',
      options: [
        FigOption(
            name: ['--hmr'],
            description: 'Enables the hot module replacement (HMR) feature'),
        forceOption,
      ],
    ),
    FigSubcommand(
      name: ['ios'],
      description: 'Prepares your project for an iOS build',
      options: [
        FigOption(
            name: ['--hmr'],
            description: 'Enables the hot module replacement (HMR) feature'),
        forceOption,
      ],
    ),
  ],
  options: [
    FigOption(
        name: ['--hmr'],
        description: 'Enables the hot module replacement (HMR) feature'),
    forceOption,
    helpOption('prepare'),
  ],
);