Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add .edit session repl command #606

Merged
merged 2 commits into from
Jun 17, 2024
Merged

feat: add .edit session repl command #606

merged 2 commits into from
Jun 17, 2024

Conversation

sigoden
Copy link
Owner

@sigoden sigoden commented Jun 17, 2024

While the TUI is not ideal for editing individual messages, it excels at editing entire session YAML files.

So we implement an .edit session command to:

  1. Save the current session to session YAML file
  2. Open the session YAML file in the user's preferred text editor ($EDITOR).
  3. Reload the session from the saved YAML file.

relate to #601

@sigoden sigoden merged commit 189f227 into main Jun 17, 2024
3 checks passed
@sigoden sigoden deleted the feat branch June 17, 2024 03:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant