#!/usr/bin/env bash set -eo pipefail [[ $DOKKU_TRACE ]] && set -x cmd-proxy-help() { declare desc="help command" declare CMD="$1" local plugin_name="proxy" local plugin_description="Manage the proxy integration for an app" if [[ "$CMD" == "$plugin_name:help" ]]; then echo -e "Usage: dokku $plugin_name[:COMMAND]" echo '' echo "$plugin_description" echo '' echo 'Additional commands:' fn-help-content | sort | column -c2 -t -s, elif [[ $(ps -o command= $PPID) == *"--all"* ]]; then fn-help-content else cat <, Disable proxy for app proxy:enable , Enable proxy for app proxy:ports , List proxy port mappings for app proxy:ports-add [::...], Add proxy port mappings to an app proxy:ports-clear , Clear all proxy port mappings for an app proxy:ports-remove [|::...], Remove specific proxy port mappings from an app proxy:ports-set [::...], Set proxy port mappings for an app proxy:report [] [], Displays a proxy report for one or more apps proxy:set , Set proxy type for app help_content }