how to add option flag which handle both positive and negative switch #2670
Unanswered
evan0greenup
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
For example
--long
and--short
in git status . And--ahead-behind
,--no-ahead-behind
ingit status
.They should be finally assigned to a single
bool
variable. But How should be configured inclick.option()
decorator?Beta Was this translation helpful? Give feedback.
All reactions