feat: try each cluster connection in order until one succeeds, add progress spinner

This commit is contained in:
Pasha Sviderski
2025-09-13 21:12:20 +10:00
parent e1734a1aa6
commit 831c581e0f
6 changed files with 253 additions and 50 deletions
+5
View File
@@ -31,3 +31,8 @@ func Confirm() (bool, error) {
func IsStdinTerminal() bool {
return term.IsTerminal(int(os.Stdin.Fd()))
}
// IsStdoutTerminal checks if the standard output is a terminal (TTY).
func IsStdoutTerminal() bool {
return term.IsTerminal(int(os.Stdout.Fd()))
}