rich-cli
rich-cli copied to clipboard
Rich-cli is a command line toolbox for fancy output in the terminal
Bumps [requests](https://github.com/psf/requests) from 2.27.1 to 2.31.0. Release notes Sourced from requests's releases. v2.31.0 2.31.0 (2023-05-22) Security Versions of Requests between v2.3.0 and v2.30.0 are vulnerable to potential forwarding of Proxy-Authorization...
I recently had to "clean" a log file from ANSI codes. Couldn't find a quick solution for this in bash, so I turned to rich-cli, but wit no luck either....
Add a `--ansi` option that leverages rich `Text.from_ansi` method. This can be useful for stripping a file from ansi codes: ``` rich --ansi text_with_ansi_codes.txt > text_stripped.txt ``` Fixes #83
By capitalizing the emoji single-letter option to `-J`, a collision between JSON and emoji display options is removed. I also included a test that monkeypatches a private function of the...
I searched for a long time on how you should set the background color inside a string. Setting the whole background using `--style`, e.g. `--style="on yellow"` is clearly documented. But...
I'd expect `rich --print` to always preserve the lines of the input file. However `rich --print` always seems to add a newline. It would be great if no newlines were...
Noticed it didnt display the header for some CSVs due to the std CSV lib header detection not being perfect (https://docs.python.org/3/library/csv.html#csv.Sniffer.has_header), so added a click option to override the default...
I want to load a CSV as a table, but as new lines are added, I want the table to automatically update. Is that possible?
Since rich-cli pins textual to `0.1.18` it's not possible to install Textual as suggested in the README: ``` $ pip install --index-url=https://pypi.org/simple "textual[dev]" Defaulting to user installation because normal site-packages...
The `-j` option name is listed for both the "Display as JSON" and "Enable emoji code" options in the code and documentation (including the splash screen image in the README)....