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
DropDatabaseDoctrineCommand shortcuts #1072
Comments
Not that I'm aware of. Not sure if shortcuts are necessary, but then on the other hand I don't have a particularly strong opinion against them. 🤷♂️ |
Hi 👋 Thanks for the feedback, is that something that I can contribute on? It is worth the work? 🤔 |
Maybe the reason would be that it's best the user is 100% sure they know what they are doing when using such a dangerous command. It's worth the work if you use that command often, but not sure all the options are used very often besides |
Introducing shortcuts would block these shortcuts from use in future options. I also don't see big benefit of having them. |
It's more a DX thing here. Less type-work for a user and a more fluent work with the command in case it has to be called more than just one time with different options. The benefit depends on the typing preferences of a user. |
Agree with @SenseException, this issue is really focused on the DX vision, simple example when using project with Makefile's, most of the time, we use something similar to So, if you think that there's no benefits of defining an alias, I think that we can close this issue 🙂 |
I don't think it's bad to have the shortcuts. @Guikingone since you have some in mind, do you want to create a PR for them? Thanks! |
@alcaeus Yes, no problem, I'm gonna start working on it tomorrow 🙂 |
Are you still interested to contribute this? If so, when? If you don't, we should close this issue, as I don't see enough support from community. |
Hi @ostrolucky 👋 Yes, I've a first valid implementation (with tests), I push it tomorrow as a PR 🙂 Sorry for the delay. |
This feature allow to use shortcuts when possible instead of full InputOption name. Implement doctrine#1072
This feature allow to use shortcuts when possible instead of full InputOption name. Implement doctrine#1072
This feature allow to use shortcuts when possible instead of full InputOption name. Implement doctrine#1072
This feature allow to use shortcuts when possible instead of full InputOption name. Implement doctrine#1072
This feature allow to use shortcuts when possible instead of full InputOption name. Implement doctrine#1072
This feature allow to use shortcuts when possible instead of full InputOption name. Implement doctrine#1072
Hi everyone 👋
Small question about
DropDatabaseDoctrineCommand
, is there any historical reasons to not define a shortcut when it comes toforce
,shard
,connection
andif-exists
? 🤔Thanks a lot for the answer and have a great day 🙂
The text was updated successfully, but these errors were encountered: