feat: allow returning an unfiltered list of users
This is useful for upgrades or commands that _must_ perform against all apps.
This commit is contained in:
@@ -17,7 +17,8 @@ has_tty() {
|
||||
|
||||
dokku_apps() {
|
||||
declare desc="prints list of all local apps"
|
||||
local INSTALLED_APPS="$(plugn trigger app-list)"
|
||||
declare FILTER="$1"
|
||||
local INSTALLED_APPS="$(plugn trigger app-list "$FILTER")"
|
||||
if [[ -z "$INSTALLED_APPS" ]]; then
|
||||
dokku_log_fail "You haven't deployed any applications yet"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user