Skip to content

Commit

Permalink
Add missing -composer option.
Browse files Browse the repository at this point in the history
When composer needs to be set, the plugin task needs to have an option
so the user can specify it.
  • Loading branch information
markstory committed Jul 3, 2014
1 parent 99d8d42 commit 72ea665
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Console/Command/Task/PluginTask.php
Expand Up @@ -300,6 +300,9 @@ public function getOptionParser() {
'Can create plugins in any of your bootstrapped plugin paths.'
))->addArgument('name', [
'help' => __d('cake_console', 'CamelCased name of the plugin to create.')
])->addOption('composer', [
'default' => ROOT . '/composer.phar',
'help' => __d('cake_console', 'The path to the composer executable.')
])->removeOption('plugin');

return $parser;
Expand Down

0 comments on commit 72ea665

Please sign in to comment.