refactor: alias nginx:default to nginx:help
This commit is contained in:
12
plugins/nginx-vhosts/subcommands/default
Normal file → Executable file
12
plugins/nginx-vhosts/subcommands/default
Normal file → Executable file
@@ -1,13 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x
|
||||
source "$PLUGIN_CORE_AVAILABLE_PATH/common/functions"
|
||||
source "$PLUGIN_AVAILABLE_PATH/config/functions"
|
||||
source "$PLUGIN_AVAILABLE_PATH/nginx-vhosts/functions"
|
||||
source "$PLUGIN_AVAILABLE_PATH/nginx-vhosts/internal-functions"
|
||||
|
||||
nginx_main_cmd() {
|
||||
declare desc="display nginx plugin help content"
|
||||
local cmd="nginx"
|
||||
help_formatted
|
||||
}
|
||||
|
||||
nginx_main_cmd "$@"
|
||||
nginx_vhosts_help_cmd "$@"
|
||||
|
||||
Reference in New Issue
Block a user