Improved commands

This commit is contained in:
William DURAND 2011-06-22 16:47:19 +02:00
commit 35a56e8ca8
6 changed files with 16 additions and 6 deletions

View file

@ -39,10 +39,12 @@ EOT
protected function execute(InputInterface $input, OutputInterface $output)
{
if ($input->getOption('verbose')) {
$this->additionalPhingArgs[]= 'verbose';
$this->additionalPhingArgs[] = 'verbose';
}
if (true === $this->callPhing('om')) {
$this->writeSection($output, '[Propel] You are running the command: propel:build-model');
foreach ($this->tempSchemas as $schemaFile => $schemaDetails) {
$output->writeln(sprintf(
'Built Model classes for bundle <info>%s</info> from <comment>%s</comment>.',