feat: improve REPL interface with banner, dot-commands, and --quiet flag#4888
feat: improve REPL interface with banner, dot-commands, and --quiet flag#4888hansl merged 7 commits intoboa-dev:mainfrom
Conversation
Test262 conformance changes
Tested main commit: |
hansl
left a comment
There was a problem hiding this comment.
I'd be okay with a TODO comment in the code for the second point and doing it in a follow up PR.
|
Just wanted to add, I like this a lot and I think it goes into the right direction. I look forward to having a more powerful REPL. |
|
cc @hansl Addressed both points — trimmed readline input and added TODO for |
Head branch was pushed to by a user without write access
|
@hansl The CI failed on formatting, so I pushed a quick rustfmt fix. Could you please re-approve the workflows? |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #4888 +/- ##
===========================================
+ Coverage 47.24% 57.67% +10.43%
===========================================
Files 476 556 +80
Lines 46892 60782 +13890
===========================================
+ Hits 22154 35057 +12903
- Misses 24738 25725 +987 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
@sahanaxzy Please fix the linting errors and I'll reenable CI + merge. |
Head branch was pushed to by a user without write access
# Conflicts: # cli/src/main.rs
|
you might need to merge pull the latest changes |
|
Thanks! I’ve pulled the latest changes from main and updated the branch. |
This should have a little refactor soon.
Summary
Improves the REPL experience by adding a welcome banner, dot-commands, and a
--quietflag.Solves #4883
Changes
.help,.clear,.load <file>dot-commands--quiet/-qflag to suppress the banner-Oand--optimizer-statisticsFiles Changed
Modified
cli/src/main.rsModified
cli/README.md