reactioncommerce / reaction-cli

A command line tool for working with Reaction Commerce.
33 stars 20 forks source link

Add "--no-delete" option to `reset` to avoid prompting #4

Closed brent-hoover closed 8 years ago

aaronjudd commented 8 years ago

could be the other way as well.. --delete could just delete node_modules without prompting.. so that reset worked the same way as meteor.

jshimko commented 8 years ago

Overriding the prompt has been implemented in 0.4.1. You can use the -y and -n to answer before being asked (similar to apt-get install -y curl, for example)

reaction reset -y
# meteor reset && rm -rf node_modules && meteor npm install 

reaction reset -n
# meteor reset

reaction reset 
# [prompt] Resetting the database! Also delete node_modules? (y/N)