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

+3 -2
View File
@@ -5,8 +5,9 @@ source "$PLUGIN_CORE_AVAILABLE_PATH/common/functions"
cmd-report() {
declare desc="reports dokku vitals for troubleshooting"
local cmd="report"
declare APP="$2"
declare cmd="report"
[[ "$1" == "$cmd" ]] && shift 1
declare APP="$1"
dokku_log_info1 "uname: $(uname -a)"
dokku_log_info1 "memory: "