subcommand restructure and bashstyle refactor. closes #1579
This commit is contained in:
1 parent
76e27f0333
commit
89f289b433
105 files changed
+1969
-1306
No files matched your search
Executable
+13
@@ -0,0 +1,13 @@
|
||||
#!/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_set_global_cmd() {
|
||||
local desc="set global domain name from command line"
|
||||
local cmd="domains:set-global"
|
||||
[[ -z $2 ]] && dokku_log_fail "Please specify a global domain name"
|
||||
domains_set_global "$2"
|
||||
}
|
||||
|
||||
domains_set_global_cmd "$@"
|
||||
Reference in new issue
Block a user