mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-09-08 04:22:40 +00:00
force option for bake tasks (view, model, controller, test, fixture)
This commit is contained in:
parent
e03d3df0fe
commit
0b6919ee94
6 changed files with 16 additions and 1 deletions
|
@ -440,6 +440,9 @@ class ViewTask extends BakeTask {
|
|||
))->addOption('connection', array(
|
||||
'short' => 'c',
|
||||
'help' => __d('cake_console', 'The connection the connected model is on.')
|
||||
))->addOption('force', array(
|
||||
'short' => 'f',
|
||||
'help' => __d('cake_console', 'Force overwriting existing files without prompting.')
|
||||
))->addSubcommand('all', array(
|
||||
'help' => __d('cake_console', 'Bake all CRUD action views for all controllers. Requires models and controllers to exist.')
|
||||
))->epilog(__d('cake_console', 'Omitting all arguments and options will enter into an interactive mode.'));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue