click-extra

🌈 Extra colorization and configuration loading for Click.

GPL-2.0 License

Downloads
16K
Stars
52
Committers
5

What is Click Extra?

It should be easy to write a good CLI in Python. Click makes it so. But there is still hundrends of tweaks to implement by yourself to have a user-friendly CLI.

Click Extra is a ready-to-use wrapper around Click to make your CLI look good and behave well. It is a drop-in replacement with good defaults that saves lots of boilerplate code and frustration by making all parts working together.

It also comes with workarounds and patches that have not reached upstream yet (or are unlikely to).

Example

It transforms this vanilla click CLI:

Into this:

To undestrand how we ended up with the result above, go read the tutorial.

Features

Used in

Check these projects to get real-life examples of click-extra usage:

Feel free to send a PR to add your project in this list if you are relying on Click Extra in any way.

Development

Development guidelines are the same as parent project mpm, from which click-extra originated.

Package Rankings
Top 7.06% on Pypi.org
Top 8.34% on Proxy.golang.org
Badges
Extracted from project README
Last release Python versions Downloads Unittests status Coverage status Documentation status DOI