mirror of
https://github.com/dokku/dokku.git
synced 2025-12-29 00:25:08 +01:00
Merge pull request #3345 from dokku/report-all-flag
Allow triggering the full report for all apps via --all flag
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user