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

Unified Diff: utils/pub/command_lish.dart

Issue 11416222: Add support for pub command aliases. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 1 month 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 | utils/pub/pub.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: utils/pub/command_lish.dart
diff --git a/utils/pub/command_lish.dart b/utils/pub/command_lish.dart
index 34ba1b43127b42d2213af7cdf89bd933906facfd..6df21be62bd13afb31ebdbeab52f4d0142ebc357 100644
--- a/utils/pub/command_lish.dart
+++ b/utils/pub/command_lish.dart
@@ -18,8 +18,9 @@ import 'oauth2.dart' as oauth2;
// 6949.
/// Handles the `lish` and `publish` pub commands.
class LishCommand extends PubCommand {
- String get description => "publish the current package to pub.dartlang.org";
- String get usage => "pub lish [options]";
+ final description = "publish the current package to pub.dartlang.org";
+ final usage = "pub publish [options]";
+ final aliases = const ["lish", "lush"];
ArgParser get commandParser {
var parser = new ArgParser();
« no previous file with comments | « no previous file | utils/pub/pub.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698