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

Unified Diff: utils/pub/command_list.dart

Issue 10805017: Add a "help" command to Pub. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix test failures Created 8 years, 5 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: utils/pub/command_list.dart
diff --git a/utils/pub/command_list.dart b/utils/pub/command_list.dart
index e85757c10f77a66cb2d08a911b0a27b43e68b20d..df5c40dc8b7839df6b51e0b179a9e4ae77053055 100644
--- a/utils/pub/command_list.dart
+++ b/utils/pub/command_list.dart
@@ -16,6 +16,8 @@
class ListCommand extends PubCommand {
String get description() => 'print the contents of repositories';
+ String get usage() => 'pub list';
+
Future onRun() {
// TODO(nweiz): also list the contents of the packages directory when it's
// able to determine the source of its packages (that is, when we have a

Powered by Google App Engine
This is Rietveld 408576698