Index: sdk/lib/_internal/pub/lib/src/command_install.dart |
diff --git a/sdk/lib/_internal/pub/lib/src/command_install.dart b/sdk/lib/_internal/pub/lib/src/command_install.dart |
deleted file mode 100644 |
index afc9d2f88aefb84f902418cc95686853bab9d574..0000000000000000000000000000000000000000 |
--- a/sdk/lib/_internal/pub/lib/src/command_install.dart |
+++ /dev/null |
@@ -1,31 +0,0 @@ |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-library command_install; |
- |
-import 'dart:async'; |
- |
-import 'package:args/args.dart'; |
- |
-import 'command.dart'; |
-import 'entrypoint.dart'; |
-import 'log.dart' as log; |
- |
-/// Handles the `install` pub command. |
-class InstallCommand extends PubCommand { |
- String get description => "Install the current package's dependencies."; |
- String get usage => "pub install"; |
- |
- bool get isOffline => commandOptions['offline']; |
- |
- InstallCommand() { |
- commandParser.addFlag('offline', |
- help: 'Use cached packages instead of accessing the network.'); |
- } |
- |
- Future onRun() { |
- return entrypoint.installDependencies() |
- .then((_) => log.message("Dependencies installed!")); |
- } |
-} |