printWelcome displays the welcome banner
()
| 86 | |
| 87 | // printWelcome displays the welcome banner |
| 88 | func printWelcome() { |
| 89 | fmt.Println() |
| 90 | fmt.Println("╔══════════════════════════════════════════════════════════╗") |
| 91 | fmt.Println("║ Welcome to fssh Interactive Setup Wizard ║") |
| 92 | fmt.Println("╚══════════════════════════════════════════════════════════╝") |
| 93 | fmt.Println() |
| 94 | fmt.Println("This wizard will help you:") |
| 95 | fmt.Println(" 1. Initialize authentication (Touch ID or OTP)") |
| 96 | fmt.Println(" 2. Install fssh binary to /usr/local/bin/") |
| 97 | fmt.Println(" 3. Import your SSH keys from ~/.ssh/") |
| 98 | fmt.Println(" 4. Configure LaunchAgent for auto-start") |
| 99 | fmt.Println(" 5. Start the SSH agent") |
| 100 | fmt.Println(" 6. Configure SSH client") |
| 101 | fmt.Println() |
| 102 | } |
| 103 | |
| 104 | // checkInitialization checks if fssh is already initialized |
| 105 | func checkInitialization(force bool) error { |
no outgoing calls
no test coverage detected