Was just looking through this:

http://api.cakephp.org/1.2/shell_8php-source.html#l00410

I wanted to see if there was a way to override the prompt to overwrite
files when using bake in 1.2.6311  I noticed that in the "createFile"
function, there is a couple of lines for entering "a" to the overwrite
prompt and then setting a "dont_ask" variable. However, "a" isn't one
of the prompt options and there doesn't appear to be any other logic
that references "dont_ask".

Is this a bit of unfinished code or is it something that was
abandoned, etc?  I'm interested in the possibility of "cake bake all
modelName" overwriting files without prompting, so this peaked my
curiosity...
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to