Skip to content

Ability to specify choices for help text independently of parameter type #733

Closed Answered by mikenerone
mikenerone asked this question in Questions
Discussion options

You must be logged in to vote

I ended up solving this by creating my own click type, that specifically handles my plugin specification syntax. Unfortunately it's in a proprietary codebase, so I can't share it as an example, but it's relatively straightforward to do so. In the click codebase, look through click/types.py for many examples.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by mikenerone
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Question or problem
1 participant