include echo functions that don't print when quiet arg is passed

This commit is contained in:
Michael Hobbs
2015-02-05 12:38:59 -08:00
parent 6ad65dd9b4
commit 371ba99540
4 changed files with 19 additions and 3 deletions

View File

@@ -17,6 +17,22 @@ function info2() {
echo "=====> $@"
}
function info1_quiet() {
if [[ -z "$DOKKU_QUIET_OUTPUT" ]];then
echo "-----> $@"
else
return 0
fi
}
function info2_quiet() {
if [[ -z "$DOKKU_QUIET_OUTPUT" ]];then
echo "=====> $@"
else
return 0
fi
}
function verbose() {
echo " $@"
}