add connection option for commands: build, sql:build, migration:generate-diff
This commit is contained in:
parent
39e5782a93
commit
a8bb6a2a8b
6 changed files with 42 additions and 16 deletions
|
|
@ -11,6 +11,7 @@
|
|||
namespace Propel\PropelBundle\Command;
|
||||
|
||||
use Symfony\Component\Console\Input\InputInterface;
|
||||
use Symfony\Component\Console\Input\InputOption;
|
||||
use Symfony\Component\Console\Output\OutputInterface;
|
||||
use Symfony\Component\Console\Output\Output;
|
||||
use Symfony\Component\Filesystem\Filesystem;
|
||||
|
|
@ -39,6 +40,7 @@ The <info>%command.name%</info> command builds the SQL table generation code bas
|
|||
<info>php %command.full_name%</info>
|
||||
EOT
|
||||
)
|
||||
->addOption('connection', null, InputOption::VALUE_OPTIONAL, 'Set this parameter to define a connection to use')
|
||||
->setName('propel:sql:build')
|
||||
;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue