feat: allow formatting :report command output as json
This commit is contained in:
1 parent
cc2f054e6a
commit
033b0952dd
34 files changed
+104
-58
No files matched your search
@@ -9,6 +9,10 @@ cmd-report() {
|
||||
[[ "$1" == "$cmd" ]] && shift 1
|
||||
declare APP="$1"
|
||||
|
||||
if [[ "$APP" == "--format" ]]; then
|
||||
dokku_log_fail "--format flag not supported on global report"
|
||||
fi
|
||||
|
||||
dokku_log_info1 "uname: $(uname -a)"
|
||||
dokku_log_info1 "memory: "
|
||||
free -m | sed "s/^/ /"
|
||||
|
||||
Reference in new issue
Block a user