subcommand restructure and bashstyle refactor. closes #1579
This commit is contained in:
committed by
Michael Hobbs
parent
76e27f0333
commit
89f289b433
13
plugins/plugin/subcommands/install-dependencies
Executable file
13
plugins/plugin/subcommands/install-dependencies
Executable file
@@ -0,0 +1,13 @@
|
||||
#!/usr/bin/env bash
|
||||
set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x
|
||||
|
||||
plugin_install_dependencies_cmd() {
|
||||
local desc="calls dependencies plugin trigger via command line"
|
||||
local cmd="plugin:install-dependencies"
|
||||
if [[ $2 == "--core" ]]; then
|
||||
export PLUGIN_PATH="$PLUGIN_CORE_PATH"
|
||||
fi
|
||||
plugn trigger dependencies
|
||||
}
|
||||
|
||||
plugin_install_dependencies_cmd "$@"
|
||||
Reference in New Issue
Block a user