From e838fe7b96c74cf0481dfaa0329380fd96a6521c Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Wed, 26 Dec 2018 23:03:00 -0500 Subject: [PATCH] feat: allow triggering the full report for all apps via --all flag --- plugins/00_dokku-standard/subcommands/report | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/plugins/00_dokku-standard/subcommands/report b/plugins/00_dokku-standard/subcommands/report index ce5badb20..aeb9304bf 100755 --- a/plugins/00_dokku-standard/subcommands/report +++ b/plugins/00_dokku-standard/subcommands/report @@ -21,7 +21,11 @@ dokku_report_cmd() { dokku_log_info1 "dokku plugins: " dokku plugin:list | sed "s/^/ /" - if [[ -n "$APP" ]]; then + if [[ "$APP" == "--all" ]]; then + for app in $(dokku_apps); do + plugn trigger report "$app" + done + elif [[ -n "$APP" ]]; then plugn trigger report "$APP" fi }