anchor.diff:      await pub.interactively(<String>[_commandName, ...argResults.rest], stdio: globals.stdio);
       return FlutterCommandResult.success();
     }
  -
   }
   
   class PackagesPassthroughCommand extends FlutterCommand {
  
positive.code:   }
  }
  
  class PackagesPublishCommand extends FlutterCommand {
    PackagesPublishCommand() {
      requiresPubspecYaml();
      argParser.addFlag('dry-run',
        abbr: 'n',
        negatable: false,
        help: 'Validate but do not publish the package.',
      );
      argParser.addFlag('force',
        abbr: 'f',
        negatable: false,
        help: 'Publish without confirmation if there are no errors.',
      );
    }
  
    @override
    String get name => 'publish';
  
    @override
    String get description {
      return 'Publish the current package to pub.dev';
    }
  
    @override
    String get invocation {
      return '${runner.executableName} pub publish [--dry-run]';
    }
  
    @override
    Future<FlutterCommandResult> runCommand() async {
      final List<String> args = <String>[
        ...argResults.rest,
        if (boolArg('dry-run')) '--dry-run',
        if (boolArg('force')) '--force',
      ];
      await pub.interactively(<String>['publish', ...args], stdio: globals.stdio);
      return FlutterCommandResult.success();
    }
  }
  
  class PackagesForwardCommand extends FlutterCommand {
    PackagesForwardCommand(this._commandName, this._description, {bool requiresPubspec = false}) {
      if (requiresPubspec) {
        requiresPubspecYaml();
      }
    }
    final String _commandName;
    final String _description;
  
  
negative.code:       await pub.get(
          context: PubContext.pubGet,
          directory: directory,
          upgrade: upgrade,
          offline: boolArg('offline'),
          generateSyntheticPackage: flutterProject.manifest.generateSyntheticPackage,
        );
  