cloudspannerecosystem / wrench

wrench - Schema management tool for Cloud Spanner -

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add confirmation on command execution

Shion1305 opened this issue · comments

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.