gh-133447: Add basic color to sqlite3 CLI#133461
gh-133447: Add basic color to sqlite3 CLI#133461erlend-aasland merged 16 commits intopython:mainfrom
sqlite3 CLI#133461Conversation
|
Now that #133347 has been merged, we could take advantage of it in the sqlite CLI as well? |
|
cc @ambv Just to check -- did I use themes correctly or did I do something wrong (there is no docs at the moment to verify)? |
There was a problem hiding this comment.
Yeah, there are no docs so I'll push here with how I'd do it if that's okay.
There was a problem hiding this comment.
Let me know what you think.
|
Looks good to me now, thank you for the assistance:-) If you need help with colorise I’d be happy to lend a hand. |
|
Excellent! Since all this is already for 3.15, I think we might attempt a SQL syntax highlighter as well, although I'm not entirely sure our tokenizer will take kindly to it, so this might become a larger task. We have plenty of time, though. |
sqlite3 clisqlite3 CLI
Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
SQL highlighting would be awesome. |
|
All the test fails are unrelated.
Working on it :-) |
|
@StanFromIreland, please look into the failing tests. |
|
I was testing the broken behavior that was now fixed, oops! |
|
@erlend-aasland Test has been corrected to work with the new updates. |
|
|
Unrelated. |
(pythongh-133447: Add basic color to `sqlite3` CLI (python#133461))
request: @hugovk