Improve REPL usability with help, clear commands, and status messages#95
Open
peter-at-progress wants to merge 2 commits into
Open
Conversation
peter-at-progress
commented
Jan 22, 2026
- Add interactive help command with documentation
- Add clear command to reset terminal screen
- Add welcome message with colored text and usage hints
- Enable command history with arrow keys (readline integration)
- Auto-detect and use Python venv in garden.sh when available
- Add info message showing running containers alongside warnings
- Add interactive help command with comprehensive documentation - Add clear command to reset terminal screen - Add welcome message with colored text and usage hints - Enable command history with arrow keys (readline integration) - Auto-detect and use Python venv in garden.sh when available - Add info message showing running containers alongside warnings
Collaborator
|
Hey Peter! Sorry it's taken me so long to respond on this -- I have a lot on my plate right now. Anyway, the help command is useful. I'd be happy to merge that. I had readline integration in the past, but I always found it kind of buggy on my machine. I'll take a look and see if this works any better than what I had before. As for venvs, I think probably the right thing to do is use uv inside of garden.sh, and hide all of this from the user. I don't love the clear command; os.system is a hack. Honestly, a good terminal emulator should have a Ctrl-L binding for clearing the screen, so I'd advise that you use that. Rest of it looks pretty good. I'll make some code suggestions and then we can merge this. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.