creating zf custom commands, like zf create form

alex05

New Member
When I use the zend CLI to create a form, like this, a form gets generated and gets added to the forms folder.\[code\]zf create form MyForm\[/code\]I have a custom class that I'd like to create a custom command for it in the same way and would like to look at the \[code\]zf create form\[/code\] command for guidance. I suspected it to be in Zend_Framework/bin where there's a shell, php, bat files, but I couldn't find any code there related to the form class creation, maybe i missed?Anyway, is there a better to accomplish the same thing? like an Zend API that lets me create some of these commands myself? If not my only option would be to see how something like \[code\]zf create form\[/code\] was created.
 
Back
Top