BuildCommand constructor

BuildCommand()

Implementation

BuildCommand() {
  argParser
    ..addOption('image',
        abbr: 'i',
        help:
            'The docker image name in the form --image="repo/image:version"')
    ..addFlag('update-dcli',
        abbr: 'u',
        help:
            'Pass this flag to force the build to pull the latest version of dart/dcli',
        negatable: false)
    ..addFlag('overwrite',
        abbr: 'o',
        help: 'If an image with the same name exists then replace it.',
        negatable: false)
    ..addFlag('debug',
        abbr: 'd',
        negatable: false,
        help: 'Outputs additional build information');
}