feat: add move command to relocate SSH hosts between config files

- Add 'move' command with interactive file selector
- Implement atomic host moving between SSH config files
- Support for configs with include directives
- Add comprehensive error handling and validation
- Update help screen with improved two-column layout
This commit is contained in:
2025-09-08 16:26:30 +02:00
parent 5c832ce26f
commit 77b2b8fd22
8 changed files with 629 additions and 52 deletions

View File

@@ -37,6 +37,7 @@ const (
ViewList ViewMode = iota
ViewAdd
ViewEdit
ViewMove
ViewInfo
ViewPortForward
ViewHelp
@@ -87,6 +88,7 @@ type Model struct {
viewMode ViewMode
addForm *addFormModel
editForm *editFormModel
moveForm *moveFormModel
infoForm *infoFormModel
portForwardForm *portForwardModel
helpForm *helpModel