Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing --no-interaction flag? #5594

Closed
wants to merge 1 commit into from

Conversation

alexwybraniec
Copy link
Contributor

Running
php app/console doctrine:generate:entity --entity="AppBundle:Category" --fields="name:string(255)"
does not automatically generate the entity.

Needs the --no-interaction flag set or it enters the interactive generator.

Running 
php app/console doctrine:generate:entity --entity="AppBundle:Category" --fields="name:string(255)"
does not automatically generate the entity. Needs the --no-interaction flag setting.
@xabbuh
Copy link
Member

xabbuh commented Aug 4, 2015

This change looks right to me, but honestly I haven't used this command for a long time.

@OskarStark
Copy link
Contributor

you are right @alexwybraniec

i tested it

not working
bildschirmfoto 2015-08-11 um 12 07 41

working
bildschirmfoto 2015-08-11 um 12 07 57

so this PR can be merged as it is

@javiereguiluz
Copy link
Member

👍

@wouterj
Copy link
Member

wouterj commented Aug 12, 2015

Thank you Alex! Looks correct to me as well, so merging it into the docs!

wouterj added a commit that referenced this pull request Aug 12, 2015
This PR was submitted for the 2.7 branch but it was merged into the 2.3 branch instead (closes #5594).

Discussion
----------

Missing --no-interaction flag?

Running
php app/console doctrine:generate:entity --entity="AppBundle:Category" --fields="name:string(255)"
does not automatically generate the entity.

Needs the --no-interaction flag set or it enters the interactive generator.

Commits
-------

478023c Missing --no-interaction flag?
@wouterj wouterj closed this Aug 12, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants