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(); |