Index: sdk/lib/_internal/pub/lib/src/command/global_list.dart |
diff --git a/sdk/lib/_internal/pub/lib/src/command/global_list.dart b/sdk/lib/_internal/pub/lib/src/command/global_list.dart |
index c498b42545ba87e2c1ae911866cda2036145b927..1de107305dbfa8e454fba65f9193723d033953d7 100644 |
--- a/sdk/lib/_internal/pub/lib/src/command/global_list.dart |
+++ b/sdk/lib/_internal/pub/lib/src/command/global_list.dart |
@@ -10,12 +10,13 @@ import '../command.dart'; |
/// Handles the `global list` pub command. |
class GlobalListCommand extends PubCommand { |
- bool get allowTrailingOptions => false; |
+ String get name => "list"; |
String get description => 'List globally activated packages.'; |
- String get usage => 'pub global list'; |
+ String get invocation => 'pub global list'; |
+ bool get allowTrailingOptions => false; |
+ bool get takesArguments => false; |
- Future onRun() { |
+ void run() { |
globals.listActivePackages(); |
- return null; |
} |
} |