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

Unified Diff: lib/src/command_runner.dart

Issue 1852513004: Make life a little more sparkly. (Closed) Base URL: git@github.com:dart-lang/pub.git@master
Patch Set: Code review changes Created 4 years, 9 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 | lib/src/log.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/command_runner.dart
diff --git a/lib/src/command_runner.dart b/lib/src/command_runner.dart
index ca6bb87a4d599df9fa17aaaa5fffaa9a42dca9d9..a7ee61b1fb2ab9d3ebc57f473b3c0e82dda024f1 100644
--- a/lib/src/command_runner.dart
+++ b/lib/src/command_runner.dart
@@ -58,6 +58,8 @@ class PubCommandRunner extends CommandRunner {
help: 'Shortcut for "--verbosity=all".');
argParser.addFlag('with-prejudice', hide: !isAprilFools,
negatable: false, help: 'Execute commands with prejudice.');
+ argParser.addFlag('sparkle', hide: !isAprilFools,
+ negatable: false, help: 'A more sparkly experience.');
argParser.addFlag('package-symlinks',
negatable: true, defaultsTo: true, hide: true,
help: "Generate packages/ directories when installing packages.");
@@ -90,6 +92,7 @@ class PubCommandRunner extends CommandRunner {
Future runCommand(ArgResults options) async {
log.withPrejudice = options['with-prejudice'];
+ log.sparkle = options['sparkle'];
_checkDepsSynced();
« no previous file with comments | « no previous file | lib/src/log.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698