cloudspannerecosystem / wrench

wrench - Schema management tool for Cloud Spanner -
MIT License
236 stars 46 forks source link

Add confirmation on command execution #98

Open Shion1305 opened 10 months ago

Shion1305 commented 10 months ago

WHAT

Implement command execution confirmation for commands that involve destructive operations, particularly wrench drop. Introduce a -q/--quiet flag to facilitate execution without the confirmation prompt.

WHY

I accidentally executed a destructive change using wrench drop. It would be less error-prone and safer to include a confirmation step that verifies which database is to be dropped.