-
Notifications
You must be signed in to change notification settings - Fork 1k
Milestone
Description
Discussed in https://github.com/orgs/wp-cli/discussions/5813
Originally posted by dingo-d July 14, 2023
This is an idea coming from this issue: wp-cli/extension-command#248
So, in essence, when we mistype a command, we would get a recommendation like:
Did you mean 'delete'?
It would be good to have an option (Symfony commands have this options) to actually run the suggested option, instead of just exiting out just to type the command again.
$ wp plugin remove plugin-name
Did you mean 'delete'? [Y]
when you type Y, yes or y, you'd run the wp plugin delete plugin-name command.
Reactions are currently unavailable