Is it possible to combine click and argparse? #2413
Unanswered
GlenNicholls
asked this question in
Q&A
Replies: 1 comment
-
|
Yes, you can override |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have an app that wraps a pypi package and extends its argparse CLI for one of the modes of operation. However, I would like to use click instead and I'm wondering if there's a way to add those args/options to our click interface from that argparse object? Any examples or documentation that cover this or a similar subject would be really helpful.
I found click.BaseCommand, but it's not clear to me how to combine argparse and a click implementation.
Beta Was this translation helpful? Give feedback.
All reactions