refactor: unify command declaration across codebase
This commit is contained in:
1 parent
b0abeb49dd
commit
e67b96780d
108 files changed
+475
-315
No files matched your search
@@ -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=()
|
||||
|
||||
Reference in new issue
Block a user