mirror of
https://github.com/psviderski/uncloud.git
synced 2026-10-08 22:24:54 +00:00
feat: try each cluster connection in order until one succeeds, add progress spinner
This commit is contained in:
1 parent
e1734a1aa6
commit
831c581e0f
6 files changed
+253
-50
No files matched your search
@@ -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()))
|
||||
}
|
||||
Reference in new issue
Block a user