Improving logging

This commit is contained in:
Luke Murphy
2020-03-22 00:21:04 +01:00
parent c611603eb5
commit be6a9a1a73
2 changed files with 4 additions and 2 deletions

View File

@ -5,7 +5,9 @@ set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x
source "$PLUGIN_CORE_AVAILABLE_PATH/common/functions"
cmd-ansible-default() {
dokku_log_fail "Please use one of the specified commands, run dokku ansible:help"
declare desc="Run ansible playbooks during deployment"
local cmd="ansible"
dokku_log_fail "Missing command, please run 'dokku ansible:help'"
}
cmd-ansible-default "$@"