Added support for the debug option in build-model and build-sql commands

This commit is contained in:
fzaninotto 2011-05-30 17:03:08 +02:00
commit 17d994bcd7
2 changed files with 6 additions and 0 deletions

View file

@ -42,6 +42,9 @@ EOT
*/
protected function execute(InputInterface $input, OutputInterface $output)
{
if ($input->getOption('verbose')) {
$this->additionalPhingArgs[]= 'verbose';
}
$this->callPhing('sql', array('propel.packageObjectModel' => false));
$filesystem = new Filesystem();