Move prompt logic from webworks-cli to cordova-cli