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

Mention database name when confirming operation #2

Closed
2 tasks
danielbachhuber opened this issue Mar 13, 2017 · 0 comments
Closed
2 tasks

Mention database name when confirming operation #2

danielbachhuber opened this issue Mar 13, 2017 · 0 comments

Comments

@danielbachhuber
Copy link
Member

When confirming an operation in the wp db * set of commands, it would be helpful to indicate the database name in the confirmation prompt.

Instead of:

$ wp db drop
Are you sure you want to drop the database? [y/n] y
Success: Database dropped

It would be:

$ wp db drop
Are you sure you want to drop the 'wpcli' database? [y/n] y
Success: Database dropped

This change should affect:

  • wp db drop
  • wp db reset
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant