refactor: unify command declaration across codebase

This commit is contained in:
Jose Diaz-Gonzalez committed 2020-02-10 01:40:30 -05:00
1 parent b0abeb49dd
commit e67b96780d
108 files changed
+475 -315

No files matched your search

+4 -1
View File
@@ -4,8 +4,11 @@ set -eo pipefail
source "$PLUGIN_CORE_AVAILABLE_PATH/common/functions"
cmd-urls() {
declare desc="reports dokku vitals for troubleshooting"
declare cmd="url"
declare APP="$2"
[[ -z $2 ]] && dokku_log_fail "Please specify an app to run the command on"
local APP="$2"
get_app_urls "$@"
}