feat: ensure the dokku binary respects the quiet flag

Previously, there were many headers being output that were unable to be removed via the --quiet flag.
This commit is contained in:
Jose Diaz-Gonzalez
2018-04-27 03:55:00 -04:00
parent 3ce148dacd
commit a6b047805c
2 changed files with 19 additions and 12 deletions

View File

@@ -16,6 +16,13 @@ dokku_apps() {
[[ $INSTALLED_APPS ]] && echo "$INSTALLED_APPS"
}
dokku_log_quiet() {
declare desc="log quiet formatter"
if [[ -z "$DOKKU_QUIET_OUTPUT" ]]; then
echo "$*"
fi
}
dokku_log_info1() {
declare desc="log info1 formatter"
echo "-----> $*"