Add check_repl_status

This commit is contained in:
Jeffrey Serio 2024-11-29 19:07:39 -06:00
parent c01e424c4c
commit 7e0e6088f4

11
shell/check_repl_status Normal file
View File

@ -0,0 +1,11 @@
#!/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