did you try "cake bake all" etc? those options are available the only downside is that you cannot really change the default settings. i usually cannot use it because it would not bake admin views and stuff. but you can give it a try - maybe it works for you
On 18 Jun., 17:39, mivogtGermanyLU <miv...@mivogt.net> wrote: > Hi there, > > as I am current woring on a project thre is more often the need to > rebake controllers and views. > Current I only need the very basic autmatically offered options. > So pressing the buttons again and again for each controller, view etc > and all options is taking to much time in my opionion (see below what > I am talking about...) > > So my question: is there a way to get it quicker just calling the bake > with all options as shown below in one command (best for all > controllers and views) > > Thanks an advance! > > Michael > > PS: here a shot of what I need: > > --------------------------------------------------------------- > Baking ApprovalsController > --------------------------------------------------------------- > Would you like to build your controller interactively? > Warning: Choosing no will overwrite the ApprovalsController. (y/n) > [y] > y > Would you like to use dynamic scaffolding? (y/n) > [n] > n > Would you like to create some basic class methods > (index(), add(), view(), edit())? (y/n) > [n] > y > Would you like to create the basic class methods for admin routing? (y/ > n) > [n] > n > Would you like this controller to use other helpers > besides HtmlHelper and FormHelper? (y/n) > [n] > n > Would you like this controller to use any components? (y/n) > [n] > n > Would you like to use Session flash messages? (y/n) > [y] > y > > --------------------------------------------------------------- > The following controller will be created: > --------------------------------------------------------------- > Controller Name: > Approvals > --------------------------------------------------------------- > Look okay? (y/n) > [y] > y > > ==> would be great to call something like > "cake bake controllers --all --ynynnnyy" -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php