Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Typer Integration #36

Open
Benoss opened this issue Oct 10, 2021 · 4 comments
Open

Typer Integration #36

Benoss opened this issue Oct 10, 2021 · 4 comments

Comments

@Benoss
Copy link

Benoss commented Oct 10, 2021

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?

@jefftriplett
Copy link

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?

https://github.com/ewels/rich-click#typer-support

@Benoss
Copy link
Author

Benoss commented May 31, 2022

Yeah I think that would be awesome 2 birds one stone.

@FlipperPA
Copy link
Collaborator

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!

@Benoss
Copy link
Author

Benoss commented Jul 4, 2022

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 :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants