rich-cli

Rich-cli is a command line toolbox for fancy output in the terminal

MIT License

Downloads
10.8K
Stars
3K
Committers
12

Bot releases are visible (Hide)

rich-cli - Improved SVG export Latest Release

Published by willmcgugan over 2 years ago

Rich-cli will now export portable SVGs, which can be loaded in editors. Previously Rich SVGs would only render correctly within a browser.

rich-cli - New Jupyter Notebook support and SVG export

Published by willmcgugan over 2 years ago

Rich-cli 1.7.0 Adds support for Jupyter notebook, with Markdown and syntax highlighting. The following video shows Notebook rendering in conjunction with the --pager option.

https://user-images.githubusercontent.com/554369/166140064-0f3e14fa-4b08-494c-8fce-6d55e8ef3bd3.mov

Also in this release is a new --export-svg option which will export anything you print via Rich as an SVG.

The following command will render the first 10 entries in a CSV and export a filed called deniro.svg:

rich deniro.csv --export-svg deniro.svg --head 10

Here's what the output looks like in a browser:

rich-cli -

Published by willmcgugan over 2 years ago

[1.6.0] 2022-04-23

Added

  • Added space key to page down to pager

Changed

  • Change how code blocks in markdown are rendered (remove border, adding padding)
  • --theme and --lexer are now passed to Markdown and RST parsers
  • Improved CSV guessing