Open Benoss opened 3 years ago
I think there was also some chatter on Twitter about possibly adding Rich support. I stumbled on the rich-click
project and I noticed that it adds both rich
library support to click
as well as they sneak in support for typer
.
I wonder if this would help open the door to optionally add both to the project?
Yeah I think that would be awesome 2 birds one stone.
Adding both would be fantastic, as long as they don't become requirements and are optional. Are you interested in working on a PR, @Benoss? Thanks for being in touch!
I had a quick look and it is a bit more complicated that what I thought to do the integration and could not pull it off yesterday I won't be able to work on a PR in the next future as I am going to travel for a few months :)
I am usually using Typer on top of Click for command line. This gives a nice way to use Type hints to define variables. https://typer.tiangolo.com
How complex do you think it would be to have a Typer adopter for django-click?