Adding a connection object for use with bake all.

This commit is contained in:
mark_story 2010-10-18 22:38:56 -04:00
parent de615967fc
commit bd156bb601

View file

@ -231,6 +231,10 @@ class BakeShell extends Shell {
))->addSubcommand('test', array( ))->addSubcommand('test', array(
'help' => __('Bake a unit test.'), 'help' => __('Bake a unit test.'),
'parser' => $this->Test->getOptionParser() 'parser' => $this->Test->getOptionParser()
))->addOption('connection', array(
'help' => __('Database connection to use in conjunction with `bake all`.'),
'short' => 'c',
'default' => 'default'
)); ));
} }