[config] no longer reenter dokku in config/functions

This commit is contained in:
Alex Quick
2017-01-21 21:20:03 -05:00
parent 21b091ab14
commit dd8e1fdf45

View File

@@ -9,21 +9,21 @@ config_export() {
if [[ $CONFIG_TYPE == "global" ]]; then if [[ $CONFIG_TYPE == "global" ]]; then
APP="--global" APP="--global"
fi fi
dokku config:export "$APP" $PLUGIN_AVAILABLE_PATH/config/subcommands/export config:export "$APP"
return 0 return 0
} }
config_get() { config_get() {
declare desc="get value of given config var" declare desc="get value of given config var"
dokku config:get "$@" $PLUGIN_AVAILABLE_PATH/config/subcommands/get config:get "$@"
} }
config_set() { config_set() {
declare desc="set value of given config var" declare desc="set value of given config var"
dokku config:set "$@" $PLUGIN_AVAILABLE_PATH/config/subcommands/set config:set "$@"
} }
config_unset() { config_unset() {
declare desc="set value of given config var" declare desc="set value of given config var"
dokku config:unset "$@" $PLUGIN_AVAILABLE_PATH/config/subcommands/unset config:unset "$@"
} }