Home
gradient prints text, files, URLs and stdin in your terminal with a color gradient. It is the command-line tool for rich-gradient and works like rich-cli: give it something to show and it picks how to render it.
How it works¶
- One command. Everything is
gradient [OPTIONS] [PATH,TEXT,URL, or '-']. There are no subcommands. - Automatic rendering. The file extension decides how a file is shown: Markdown, reStructuredText, a notebook, JSON, a CSV table, or syntax-highlighted code. A mode flag such as
--markdownor--treeoverrides it. - Familiar flags. Layout, styling and export options use the same short flags as
rich-cli. - Gradients everywhere.
--colors,--bgcolors,--rainbowand--animatework with every renderable.