BuildCommand constructor

BuildCommand()

Implementation

BuildCommand() {
  argParser.addOption('image',
      abbr: 'i',
      help: 'The docker image name in the form --image="repo/image:version"');

  argParser.addFlag('update-dcli',
      abbr: 'u',
      help:
          'Pass this flag to force the build to pull the latest version of dart/dcli',
      negatable: false,
      defaultsTo: false);

  argParser.addFlag('overwrite',
      abbr: 'o',
      help: 'If an image with the same name exists then replace it.',
      negatable: false,
      defaultsTo: false);

  argParser.addFlag('debug',
      abbr: 'd',
      negatable: false,
      help: 'Outputs additional build information');
}