pub fn edit_session(
store: &SessionStore,
session: &Session,
output: &Output,
) -> Result<()>Expand description
Edit a session interactively using $EDITOR with TOML format.
Workflow:
- Create backup of the session file
- Convert session to TOML
- Open in editor
- Parse changes back, re-opening on syntax errors
- Save the updated session
ยงErrors
Returns an error if backup creation, TOML conversion, or session save fails.