#!/usr/bin/env bash set -eo pipefail [[ $DOKKU_TRACE ]] && set -x fn-builds-help-content() { declare desc="return logs plugin help content" cat <, Cancel a running build for an app builds:list , List all running builds builds:output , Shows build output builds:report [] [], Displays a build report for one or more apps help_content } cmd-builds-help() { if [[ $1 == "builds:help" ]]; then echo -e 'Usage: dokku builds[:COMMAND]' echo '' echo 'Manage running builds' echo '' echo 'Additional commands:' fn-builds-help-content | sort | column -c2 -t -s, elif [[ $(ps -o command= $PPID) == *"--all"* ]]; then fn-builds-help-content else cat <