0
votes
  1. cake version: 3.1.2
  2. crud version: 4.2.0

Inside vendor/cakephp/bake/src/Shell/Task, there is a ControllerTask.php code here

Inside vendor/cakephp/bake/src/Template/Bake/Controller, there is a controller.ctp code here

Inside vendor/friendsofcake/crud/src/Template/Bake/Controller, there is a controller.ctp code here

My question is how do I execute the controller bake template inside a different vendor without copy and pasting the code into my App/Template/Bake as suggested by http://book.cakephp.org/3.0/en/bake/development.html#creating-new-bake-command-options?

I would like to be able to do something like bin/cake bake crud.controller users for e.g.

Is that even possible?

1

1 Answers

0
votes

Do this

bin/cake bake controller users --theme Crud