rich
A toolbox for fancy output in the terminal. tldr-pages
On several platforms
Several platforms
Display a file with syntax highlighting
rich path/to/file.pyIdentifyAdd line numbers, and indentation guides
rich path/to/file.py --line-numbers --guidesIdentifyApply a theme
rich path/to/file.py --theme monokaiIdentifyDisplay a file in an interactive pager
rich path/to/file.py --pagerIdentifyDisplay contents from a URL
rich https://raw.githubusercontent.com/Textualize/rich-cli/main/README.md --markdown --pagerIdentifyExport a file as HTML
rich path/to/file.md --export-html path/to/file.htmlIdentifyDisplay text with formatting tags, custom alignment, and line width
rich --print "Hello [green on black]Stylized[/green on black] [bold]World[/bold]" --left --width 10Identify