{"repo":"ewels/rich-click","free":true,"listed":false,"github":"https://github.com/ewels/rich-click","clone":"git clone https://github.com/ewels/rich-click.git","description":"Format click help output nicely with rich.","language":"Python","stars":817,"topics":["cli","click","colored","coloured","help","python","rich","styled","styles"],"license":"MIT","category":"cli-tools","readme_excerpt":"Richly rendered command line interfaces in click. --- Documentation &nbsp&nbsp·&nbsp&nbsp Source Code &nbsp&nbsp·&nbsp&nbsp Changelog --- rich-click is a wrapper around Click that renders help output nicely using Rich. - Click is a \"Python package for creating beautiful command line interfaces\" . - Rich is a \"Python library for rich text and beautiful formatting in the terminal\" . The intention of rich-click is to provide attractive help output from Click, formatted with Rich, with minimal customization required. Features - 🌈 Rich command-line formatting of click help and error messages - 😌 Same API as Click: usage is simply import rich click as click - 🎨 Over 100 themes that can be set by developers and end-users ( export RICH CLICK THEME=... ) - 💻 CLI tool to run on other people's Click and Typer CLIs (prefix the command with rich-click ) - 📦 Export help text as HTML or SVG - 🎁 Group commands and options into named panels - ❌ Well formatted error messages - 💫 Extensive customization - 🤖 IDE autocomplete of Click decorators for smooth developer experience Installation Examples Simple Example To use rich-click in your code, replace import click with import rich click as click in your existing click CLI: Screenshot from examples/11 hello.py More complex example rich-click has a ton of customization options that let you compose help text however you'd like. Below is a more complex example of what rich-click is capable of, utilizing themes and panels : Screenshot from ex","default_branch":null,"files":null,"tree":[],"storefront":"/r/ewels","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/ewels/rich-click/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}