thelia-modules / TheliaStudio

Module that adds tools for Thelia developpers
3 stars 3 forks source link

Specific generation #6

Closed gillesbourgeat closed 9 years ago

gillesbourgeat commented 9 years ago

Hello,

Add the ability to generate specific files.

Exemple command : php Thelia module:generate:loop table_name Exemple command : php Thelia module:generate:form table_name ...

Cheers,

lovenunu commented 9 years ago

What about a resources directory filter ? Something like:

$ php Thelia module:generate:all -d Loop -t table_name ModuleName

As the Resources directory can cointain anything, I think we can't just create such specific commands, but we can filter :)