Terminal: Viewing files in the terminal with Rich-cli

Last Updated on February 10, 2022 by shibatau

I. What is Rich-cli

Rich-cli is a command line toolbox for fancy output in the terminal, built with Rich.
Use the rich command to highlight a variety of file types in the terminal, with specialized rendering for Markdown and JSON files. Additionally you can markup and format text from the command line.
Rich-cli is a command line toolbox for fancy output in the terminal, built with Rich.
Use the rich command to highlight a variety of file types in the terminal, with specialized rendering for Markdown and JSON files. Additionally you can markup and format text from the command line.
Introducing the Rich CLI Tool : Viewing Files in the Terminal Will Never be the Same Again

https://github.com/Textualize/rich-cli

II. Installation

Rich-cli is distributed as a Python application. You can install it in the virtual environment with the Pip command:

python -m pip install rich-cli

III. Python

You can add -n and enable line numbers. Add -g to enable indentation guides.

You can specify a theme with –theme.

III. CSV

Rich can display a CSV as a table.

About shibatau

I was born and grown up in Kyoto. I studied western philosophy at the University and specialized in analytic philosophy, especially Ludwig Wittgenstein at the postgraduate school. I'm interested in new technology, especially machine learning and have been learning R language for two years and began to learn Python last summer. Listening toParamore, Sia, Amazarashi and MIyuki Nakajima. Favorite movies I've recently seen: "FREEHELD". Favorite actors and actresses: Anthony Hopkins, Denzel Washington, Ellen Page, Meryl Streep, Mia Wasikowska and Robert DeNiro. Favorite books: Fyodor Mikhailovich Dostoyevsky, "The Karamazov Brothers", Shinran, "Lamentations of Divergences". Favorite phrase: Salvation by Faith. Twitter: @shibatau

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.