feat: show error when move requires includes but none found

This commit is contained in:
2025-09-13 08:34:11 +02:00
parent 3c627a5d21
commit 306f38e862
4 changed files with 35 additions and 3 deletions

View File

@@ -42,7 +42,7 @@ func NewMoveForm(hostName string, styles Styles, width, height int, configFile s
}
if len(files) == 0 {
return nil, fmt.Errorf("no other config files available to move host to")
return nil, fmt.Errorf("no includes found in SSH config file - move operation requires multiple config files")
}
// Create a custom file selector for move operation