VerifyCommand constructor

VerifyCommand(
  1. TerminalOutput _output, {
  2. ReleaseValidatorPipeline pipeline = const ReleaseValidatorPipeline(),
})

Implementation

VerifyCommand(
  this._output, {
  ReleaseValidatorPipeline pipeline = const ReleaseValidatorPipeline(),
})  : _pipeline = pipeline,
      _argParser = ArgParser() {
  _argParser.addOption(
    'path',
    abbr: 'p',
    help: 'Target Flutter project directory path.',
    defaultsTo: '.',
  );
  _argParser.addFlag(
    'allow-dirty',
    help: 'Allow uncommitted git working tree changes during validation.',
    negatable: false,
  );
}