BuildCommand constructor

BuildCommand()

Implementation

BuildCommand() {
  argParser.addOption(
    'config',
    abbr: 'c',
    help: 'Path to the configuration file.',
    defaultsTo: 'config.yaml',
  );
  argParser.addFlag(
    'show-config',
    abbr: 's',
    help: 'Show the current configuration file path.',
    negatable: false,
    defaultsTo: false,
  );
  argParser.addOption(
    'target',
    abbr: 't',
    help:
        'Specify target platforms (comma-separated): ios,android,web,macos,windows,linux or use "all" to build for all platforms.',
    defaultsTo: 'android',
  );
}