diff --git a/shell/check_repl_status b/shell/check_repl_status new file mode 100644 index 0000000..758ffe9 --- /dev/null +++ b/shell/check_repl_status @@ -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