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 -3
View File
@@ -2,12 +2,12 @@
set -eo pipefail
[[ $DOKKU_TRACE ]] && set -x
source "$PLUGIN_CORE_AVAILABLE_PATH/common/functions"
source "$PLUGIN_AVAILABLE_PATH/config/functions"
cmd-run() {
declare desc="runs command in container based on app image"
declare cmd="run" APP=""
shift
declare cmd="run"
[[ "$1" == "$cmd" ]] && shift 1
declare APP=""
declare -a RUN_ENV
RUN_ENV=()