Consider the connection option while aggregating the schemas

This commit is contained in:
Kévin Gomez 2013-11-03 22:20:01 +00:00
commit 41ebcdbaa7
2 changed files with 25 additions and 12 deletions

View file

@ -11,6 +11,7 @@
namespace Propel\PropelBundle\Command;
use Symfony\Component\Console\Input\InputArgument;
use Symfony\Component\Console\Input\InputOption;
use Symfony\Component\Console\Input\InputInterface;
/**
@ -29,6 +30,7 @@ class ModelBuildCommand extends AbstractCommand
->setName('propel:model:build')
->setDescription('Build the model classes based on Propel XML schemas')
->addOption('connection', null, InputOption::VALUE_IS_ARRAY | InputOption::VALUE_OPTIONAL, 'Connection to use. Example: default, bookstore')
->addArgument('bundle', InputArgument::OPTIONAL, 'The bundle to generate model classes from')
// @todo add the other arguments/options handled by the command
;