From b548eb00caeabf1bc61febb97eaf6c23bd5e210d Mon Sep 17 00:00:00 2001 From: Mykola Solodukha Date: Tue, 7 Apr 2026 22:08:52 +0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Add=20missing=20global=20command?= =?UTF-8?q?s=20to=20client=20`--app`=20exclusion=20whitelist?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add `domains:clear-global`, `logs:vector-*`, and `scheduler-k3s` cluster, profile, and system commands that take resource names instead of app names as their first argument. Co-Authored-By: Claude Opus 4.6 (1M context) --- contrib/dokku_client.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/contrib/dokku_client.sh b/contrib/dokku_client.sh index a618e3342..fa0505f56 100755 --- a/contrib/dokku_client.sh +++ b/contrib/dokku_client.sh @@ -238,9 +238,13 @@ main() { esac [[ " apps certs help ls nginx shell storage trace version " == *" $CMD "* ]] && unset APP - [[ " certs:chain domains:add-global domains:remove-global domains:set-global ps:restore " == *" $CMD "* ]] && unset APP + [[ " certs:chain domains:add-global domains:clear-global domains:remove-global domains:set-global ps:restore " == *" $CMD "* ]] && unset APP [[ " storage:ensure-directory " == *" $CMD "* ]] && unset APP [[ " network:create network:destroy network:exists network:info network:list network:rebuildall " == *" $CMD "* ]] && unset APP + [[ " logs:vector-logs logs:vector-start logs:vector-stop " == *" $CMD "* ]] && unset APP + [[ " scheduler-k3s:cluster:add scheduler-k3s:cluster:list scheduler-k3s:cluster:remove " == *" $CMD "* ]] && unset APP + [[ " scheduler-k3s:ensure-charts scheduler-k3s:initialize scheduler-k3s:show-kubeconfig scheduler-k3s:uninstall " == *" $CMD "* ]] && unset APP + [[ " scheduler-k3s:profiles:add scheduler-k3s:profiles:list scheduler-k3s:profiles:remove " == *" $CMD "* ]] && unset APP [[ "$CMD" =~ events*|plugin*|ssh-keys* ]] && unset APP [[ -n "$APP_ARG" ]] && [[ "$APP_ARG" == "--global" ]] && unset APP if [[ -n "$@" ]] && [[ -n "$APP" ]]; then