Skip to content
Permalink
Browse files

Add missing -composer option.

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 72ea6653f72e2db7b0c27341939e99c6df62ff34
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/Console/Command/Task/PluginTask.php
@@ -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;

0 comments on commit 72ea665

Please sign in to comment.
You can’t perform that action at this time.