Merge pull request #3556 from dokku/domains-clear-global

Add missing domains:clear-global command
This commit is contained in:
Jose Diaz-Gonzalez
2019-05-14 12:01:17 -04:00
committed by GitHub

View File

@@ -0,0 +1,15 @@
#!/usr/bin/env bash
set -eo pipefail
[[ $DOKKU_TRACE ]] && set -x
source "$PLUGIN_CORE_AVAILABLE_PATH/common/functions"
source "$PLUGIN_AVAILABLE_PATH/domains/functions"
domains_clear_global_cmd() {
declare desc="clear global domain names via command line"
local cmd="domains:clear-global"
shift 1
domains_clear_global "$@"
}
domains_add_global_cmd "$@"