GeneratorBundle
GeneratorBundle copied to clipboard
Are no-interaction commands allowed/Integrated?
Can I use your bundle like follows?
php bin/console doctrine:generate:entity --entity AppBundle:Account --no-interaction --format=annotation --fields="accountTypeId:integer accountNumber:integer title:string(length=255) description:text createdAt:datetime updatedAt:datetime" ___ relation Related"" ___
Unfortunately, non-interactive commands are not implemented yet :)
The definitions of fields and relations are not handled via arguments for now, but it could be done pretty easily i guess.
SensioGeneratorBundle could provide examples of how to handle these definitions via arguments.