From e59f115311af0840b68b416d04d27600a84530aa Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Tue, 14 May 2019 11:59:44 -0400 Subject: [PATCH] fix: add missing domains:clear-global command --- plugins/domains/subcommands/clear-global | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100755 plugins/domains/subcommands/clear-global diff --git a/plugins/domains/subcommands/clear-global b/plugins/domains/subcommands/clear-global new file mode 100755 index 000000000..6cb1e2366 --- /dev/null +++ b/plugins/domains/subcommands/clear-global @@ -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 "$@"