-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Add --install-dependencies option for phoenix.new #1247
Conversation
Allows for programmatic running of phoenix.new without a shell prompt
Piping to |
That's true in a general sense. Although most command line tools provide the option as well so that you don't need to "hack" around it with So this brings it to be similar to other tools, like with Also, piping to |
May I ask your usecase for programmatically calling the generators? I'm hesitant adding options around this because they could change in the future and I haven't see a usecase yet that requires them |
Btw, |
I have two use cases:
Quick note: I don't think this is ready to merge yet. What I realized when doing the first app is that I actually want to be able to explicitly answer 'no', not 'yes'. So this PR needs to be expanded to support |
I think this is a reasonable use case. Let's see what @chrismccord thinks too! Thanks for expanding @drewblas! |
I agree it's definitely reasonable for what you want to achieve. Thanks for elaborating. Proceed! |
@drewblas ping. How are we coming on this one? |
@drewblas I'm closing for now. Please ping if you're up for completing this and I'll reopen. Thanks! |
Allows for programmatic running of phoenix.new without a shell prompt.
I did try adding a test, but the mix_shell message still throws an error because of some other input interaction. I think maybe this tiny flag doesn't need a test?