GeneratorBundle icon indicating copy to clipboard operation
GeneratorBundle copied to clipboard

Are no-interaction commands allowed/Integrated?

Open Zuhayer opened this issue 8 years ago • 1 comments

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"" ___

Zuhayer avatar Sep 20 '17 08:09 Zuhayer

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.

Remg avatar Sep 20 '17 10:09 Remg