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

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

Issue 489823002: Add "pub global list" command to show all globally activated packages. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address code review comments Created 6 years, 4 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
« no previous file with comments | « no previous file | sdk/lib/_internal/pub/lib/src/command/global_list.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 8c2105ca6ef019568f37584970d7f3687d94d8a1..c1b17302f6fd0a2e627a4c943f2b8b01651d2d78 100644
--- a/sdk/lib/_internal/pub/lib/src/command/global.dart
+++ b/sdk/lib/_internal/pub/lib/src/command/global.dart
@@ -7,6 +7,7 @@ library pub.command.global;
import '../command.dart';
import 'global_activate.dart';
import 'global_deactivate.dart';
+import 'global_list.dart';
import 'global_run.dart';
/// Handles the `global` pub command.
@@ -17,6 +18,7 @@ class GlobalCommand extends PubCommand {
final subcommands = {
"activate": new GlobalActivateCommand(),
"deactivate": new GlobalDeactivateCommand(),
+ "list": new GlobalListCommand(),
"run": new GlobalRunCommand()
};
}
« no previous file with comments | « no previous file | sdk/lib/_internal/pub/lib/src/command/global_list.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698