anchor.diff:      addSubcommand(PackagesGetCommand('get', false));
       addSubcommand(PackagesGetCommand('upgrade', true));
       addSubcommand(PackagesTestCommand());
  -    addSubcommand(PackagesPublishCommand());
  +    addSubcommand(PackagesForwardCommand('publish', 'Publish the current package to pub.dartlang.org', requiresPubspec: true));
       addSubcommand(PackagesForwardCommand('downgrade', 'Downgrade packages in a Flutter project', requiresPubspec: true));
       addSubcommand(PackagesForwardCommand('deps', 'Print package dependencies', requiresPubspec: true));
       addSubcommand(PackagesForwardCommand('run', 'Run an executable from a package', requiresPubspec: true));
  
positive.code:     await pub.interactively(<String>[_commandName, ...argResults.rest], stdio: globals.stdio);
      return FlutterCommandResult.success();
    }
  
  }
  
  class PackagesPassthroughCommand extends FlutterCommand {
  
negative.code: // Copyright 2014 The Flutter Authors. All rights reserved.
  // Use of this source code is governed by a BSD-style license that can be
  // found in the LICENSE file.
  
  import 'package:args/args.dart';
  
  import '../base/common.dart';
  import '../base/os.dart';
  