Textualize / rich-cli

Rich-cli is a command line toolbox for fancy output in the terminal
https://www.textualize.io
MIT License
2.99k stars 77 forks source link

Add a demo option #16

Closed chemacortes closed 2 years ago

chemacortes commented 2 years ago

Add the option --demo to run the demo of rich, a basic run of python -m rich.

When you install rich-cli with pipx, you have not direct access to the virtualenv within the rich module. Running the demo will be a quick test of the terminal.

willmcgugan commented 2 years ago

Will rich --help not suffice as a test of the terminal ?

chemacortes commented 2 years ago

As a text, it has not unicode chars or color palettes.

willmcgugan commented 2 years ago

Sorry, I don't think it is the job of rich-cli to do this. You can always run python -m rich.

chemacortes commented 2 years ago

OK. However, I have created a new package called "rich-demo". Can be invoked as pipx run rich-demo.