feat: add direct host connection via sshm <host> with history tracking

This commit is contained in:
2025-09-11 19:41:04 +02:00
parent 8c6f3b01ef
commit 71bf8ea2bb
2 changed files with 65 additions and 18 deletions

View File

@@ -8,8 +8,8 @@ import (
func TestRootCommand(t *testing.T) {
// Test that the root command is properly configured
if RootCmd.Use != "sshm" {
t.Errorf("Expected Use 'sshm', got '%s'", RootCmd.Use)
if RootCmd.Use != "sshm [host]" {
t.Errorf("Expected Use 'sshm [host]', got '%s'", RootCmd.Use)
}
if RootCmd.Short != "SSH Manager - A modern SSH connection manager" {