diff -r 5a6b6e770365 -r 68c69c656a2c web/lib/Zend/Service/Console/Command/ParameterSource/Prompt.php --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/web/lib/Zend/Service/Console/Command/ParameterSource/Prompt.php Thu May 07 15:16:02 2015 +0200 @@ -0,0 +1,66 @@ +aliases[0] . ": "); + /*if ($parameter->description != '' && !is_null($parameter->description)) { + fwrite(STDOUT, $parameter->description . ".\r\n"); + }*/ + + while (is_null($parameterValue) || $parameterValue == '') { + $parameterValue = trim(fgets(STDIN)); + } + + // Done! + return $parameterValue; + } +}