#!/usr/bin/env bash set -euo pipefail selection=$(mcli ls minio | awk '{print $5}' | gum choose --limit=1) gum format -t markdown "# ${selection}" echo "" mcli replicate status "minio/${selection}" exit 0