diff --git a/Mage/Task/Newcraft/Communication/ConfirmEnvironmentTask.php b/Mage/Task/Newcraft/Communication/ConfirmEnvironmentTask.php new file mode 100644 index 0000000..37d76a5 --- /dev/null +++ b/Mage/Task/Newcraft/Communication/ConfirmEnvironmentTask.php @@ -0,0 +1,32 @@ +'.$this->getConfig()->getEnvironment().'! Sure? (Y/N)... ', 3, 0); + $answer = strtoupper(Console::readInput()); + Console::output('Cont... '.$this->getName().' ... ', 2, 0); + return 'Y' === $answer; + } +} \ No newline at end of file