zendframework / ZFTool

Utility module for maintaining modular Zend Framework 2 applications.
187 stars 102 forks source link

Create action doesn't work #116

Closed Romano83 closed 9 years ago

Romano83 commented 9 years ago

Hello! When I trying to create an action with ZFTool e.g zf.php create action add Index Console z:/zend/app, I add this error : Invalid arguments or no arguments provided. I also trying with zf.php create action add IndexController Console z:/zend/app. For informations, my working environment is under Windows 7 and the IndexController and the Console module were previously created with ZFTool...

gianarb commented 9 years ago

Hi! The entrypoint command is create action <name> <controllerName> <module>

Romano83 commented 9 years ago

Yes you're right ! I've try with this entrypoint command and it's seems to work. However when I add the optional path argument, I have this error... Maybe it's comes from my dev enviroment... I think I can close this issue. Thanks a lot !