From b6229ad60201941655b013a3cc19f489fd58cb1d Mon Sep 17 00:00:00 2001 From: ADmad Date: Fri, 13 Oct 2017 17:27:24 +0530 Subject: [PATCH] Set default theme in BakeTask. All other tasks inherit from BakeTask and get their default params from it. Refs #365. --- src/Shell/Task/BakeTask.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Shell/Task/BakeTask.php b/src/Shell/Task/BakeTask.php index 14cf3aa2d..571e424ae 100644 --- a/src/Shell/Task/BakeTask.php +++ b/src/Shell/Task/BakeTask.php @@ -250,6 +250,7 @@ public function getOptionParser() ])->addOption('theme', [ 'short' => 't', 'help' => 'The theme to use when baking code.', + 'default' => Configure::read('Bake.theme'), 'choices' => $bakeThemes ]);