You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Implemented comprehensive server editing functionality that was previously showing
"Edit feature coming soon..." placeholder.
Features added:
- wizard_edit_server() function with full guided editing experience
- update_server_in_env() helper to safely update server configurations
- Support for editing all server fields except name (host, user, port, auth, description, default_dir)
- Proper handling of authentication method switching (password ↔ key)
- Command-line support: `ssh-manager server edit [name]`
- Clean removal of old configuration including comments
Changes:
- cli/lib/config.sh: Added update_server_in_env() function
- cli/lib/menu.sh: Added wizard_edit_server() with step-by-step editing
- cli/ssh-manager: Replaced placeholder with wizard call
- cli/commands/server.sh: Enhanced cmd_server_edit() to support interactive editing
The wizard shows current values as defaults, validates inputs, and offers to test
the connection after changes are saved. Authentication method changes properly
clean up old credentials.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>
0 commit comments