#!/usr/bin/env bash set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x proxy_help_content_func() { declare desc="return proxy plugin help content" cat<, [DEPRECATED] Show proxy settings for app proxy:enable , Enable proxy for app proxy:disable , Disable proxy for app proxy:ports , List proxy port mappings for app proxy:ports-clear , Clear all proxy port mappings for app proxy:ports-add :: [::...], Set proxy port mappings for app proxy:ports-remove [|::...], Unset proxy port mappings for app proxy:report [] [], Displays a proxy report for one or more apps proxy:set , Set proxy type for app help_content } proxy_help_cmd() { if [[ $1 = "proxy:help" ]] ; then echo -e 'Usage: dokku proxy[:COMMAND]' echo '' echo 'Manage the proxy used by dokku on a per app.' echo '' echo 'Additional commands:' proxy_help_content_func | sort | column -c2 -t -s, elif [[ $(ps -o command= $PPID) == *"--all"* ]]; then proxy_help_content_func else cat<