Files
dokku/plugins/nginx-vhosts/commands
2016-11-28 03:03:30 +00:00

22 lines
403 B
Bash
Executable File

#!/usr/bin/env bash
[[ " help nginx:help " == *" $1 "* ]] || exit "$DOKKU_NOT_IMPLEMENTED_EXIT"
set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x
source "$PLUGIN_AVAILABLE_PATH/nginx-vhosts/functions"
case "$1" in
help | nginx:help)
if [[ $1 = "nginx:help" ]] ; then
help_formatted
else
help_content_func
fi
;;
*)
exit "$DOKKU_NOT_IMPLEMENTED_EXIT"
;;
esac