-
-
Notifications
You must be signed in to change notification settings - Fork 31.9k
Colorize sqlite3 CLI #133447
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
Comments
I like how Stan is already talking in terms of semantic classes. |
Unfortunately the code currently uses a subclass of For now I will open a pr adding color to the line starts as it is not depending on the pr. (Progressing like pyrepl coloring...) |
This is not in the sqlite3 project. cc @ezio-melotti Can the project be set up to add them when the label is used topic-sqlite3, it would be a good test for the github workflow-like automations for projects that we discussed earlier? |
Done! DetailsI enabled the auto-add workflow:which matches 7 issues -- including this one -- but doesn't add them unless they are updated or newly created: Note: after enabling the workflow and posting this message, the issue wasn't added to the workflow, so I added it manually. The GitHub docs are not clear on what "updated" means (apparently posting a message doesn't count as an update). Note: I initially added |
That is odd, maybe it only checks on title modifications?
We could add on the label addition instead like other projects. |
Done, and it seems it work on label addition (tested on #129926). |
(pythongh-133447: Add basic color to `sqlite3` CLI (python#133461))
Feature or enhancement
Proposal:
I will open a pr once #133393 is complete.
General idea is to follow repl color scheme:
sqlite>
: repl magenta (i.e.>>>
)keywords: repl keyword blue (i.e.
def
).quit
/.help
: repl turquoise (i.e.exit
)rest: no color
Has this already been discussed elsewhere?
This is a minor feature, which does not need previous discussion elsewhere
Links to previous discussion of this feature:
No response
Linked PRs
sqlite3
CLI #133461The text was updated successfully, but these errors were encountered: