refactor: alias nginx:default to nginx:help
This commit is contained in:
1 parent
885aa47b18
commit
ec2e2bc4cc
1 file changed
+2
-10
Regular → Executable
+2
-10
@@ -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