#!/bin/sh
set -eu

DIR=$(CDPATH= cd -- "$(dirname -- "$0")" && pwd)
. "$DIR/lib/common.sh"

usage() {
  echo "Usage: DockerSystemDf" >&2
}

_ac_handle_help usage "$@"
_ac_require docker

# No arguments supported
[ "$#" -eq 0 ] || { echo "Unknown argument: $1" >&2; usage; exit 2; }

# Prefer structured output for LLM/automation.
exec docker system df --format '{{json .}}'
