calebmer / accelerate

Accelerate back and forth through time for your database or other in-place systems
MIT License
5 stars 0 forks source link

Confirmation for subs #5

Closed calebmer closed 8 years ago

calebmer commented 8 years ago

One more feature request 😊:

Can we require a confirmation whenever a user is about to do a sub operation? This can protect people from accidentally deleting a lot of data on production databases.

This could take the form of:

  1. If you are performing a sub operation ask for a yes or no to continue in the cli.
  2. Add an auto confirm flag for automation.
svmnotn commented 8 years ago

this would happen on anything that ends up performing a sub, right? So the commands affected would be all but add, up, ls, and create

calebmer commented 8 years ago

Yep.

svmnotn commented 8 years ago

Will do next

svmnotn commented 8 years ago

What should the auto ignore flag look like?

svmnotn commented 8 years ago

Ok I went with --yes and -y, so it is now implemented in #2 in commit 2b18d12

svmnotn commented 8 years ago

Closed with 2b18d12