Sure. I will add it in the shortest time.

Thanks
scs

On Tue, Mar 30, 2010 at 7:33 AM, Ralph Schindler
<[email protected]> wrote:
> This is true.  Ultimately, this todo was put in place before
> interactivity support was introduced into the Zend_Tool_Framework system.
>  Now that interactive is supported in the CLI client, that functionality
> could be used to finish this feature.
>
> I'd have to agree though that it is a bug that anything might be overwritten
> that is already in the project even though its not being tracked by
> Zend_Tool.
>
> Can you add this as a bug under Zend_Tool?
>
> Thanks!
> Ralph
>
> Harley Laue wrote:
>>
>> scs wrote:
>>>
>>> Hello,
>>> Does zf tool overwrite existing files?
>>> For example, we do have a SampleController.php under controllers.
>>> And if by mistake, we wrote the command: zf create controller Sample,
>>> does it overwrite the existing SampleController.php?
>>>
>>> If yes, why??
>>
>> It does appear to overwrite the file.
>> ZendFramework-1.9.5/library/Zend/Tool/Project/Context/Filesystem/File.php
>> line 83: // @todo propt user to determine if its ok to overwrite file
>> So it looks like it's a planed to *prompt* the user if it's going to
>> overwrite anything.
>>
>
>

Reply via email to