Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(705)

Unified Diff: sdk/lib/_internal/pub/lib/src/command/global.dart

Issue 341433009: Pub global deactivate command. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: sdk/lib/_internal/pub/lib/src/command/global.dart
diff --git a/sdk/lib/_internal/pub/lib/src/command/global.dart b/sdk/lib/_internal/pub/lib/src/command/global.dart
index cfd2996f2616dd43ce0cf45785ed2b6a89bf73ff..aa1ee2493d4ec33d775f0d66623614bc23c8a79d 100644
--- a/sdk/lib/_internal/pub/lib/src/command/global.dart
+++ b/sdk/lib/_internal/pub/lib/src/command/global.dart
@@ -6,6 +6,7 @@ library pub.command.global;
import '../command.dart';
import 'global_activate.dart';
+import 'global_deactivate.dart';
/// Handles the `global` pub command.
class GlobalCommand extends PubCommand {
@@ -13,6 +14,7 @@ class GlobalCommand extends PubCommand {
String get usage => "pub global <subcommand>";
final subcommands = {
- "activate": new GlobalActivateCommand()
+ "activate": new GlobalActivateCommand(),
+ "deactivate": new GlobalDeactivateCommand()
};
}

Powered by Google App Engine
This is Rietveld 408576698