Skip to content

oleksis/myrich

Repository files navigation

MyRich

PyPI version Tests

Shell-like using Rich for render rich text content

Installing

Install with pip

$ pip install myrich

Use

Execute the command myrich

$ myrich
(rich) /home/user $ 

You use the internal command markdown for render a Markdown file

$ myrich
(rich) /home/user $ markdown -y README.md

You use the internal command syntax for render a file using syntax highlighting

$ myrich
(rich) /home/user $ syntax -l code.py

Using the Console

You can render the ouput the any command over rich terminal content

$ myrich
(rich) /home/user $ cat code.py

You can run several commands through pipes

$ myrich
(rich) /home/user $ python -m myrich -S -l --path code.py | cat

Using Emoji

You can render the ouput with Emojis

$ myrich
(rich) /home/user $ echo :smiley:

License

MIT