Skip to content

Mention database name when confirming operation #2

@danielbachhuber

Description

@danielbachhuber

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions