Skip to content

Commit

Permalink
Set default theme in BakeTask.
Browse files Browse the repository at this point in the history
All other tasks inherit from BakeTask and get their default params from it.
Refs #365.
  • Loading branch information
ADmad committed Oct 13, 2017
1 parent a108e7d commit b6229ad
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Shell/Task/BakeTask.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
]);

Expand Down

0 comments on commit b6229ad

Please sign in to comment.