Jay Crotts

Results 15 comments of Jay Crotts

Feel free to make a PR for this if you have an implementation in mind. In general saving a few lines in user code is not a strong reason for...

This should be documented after a fix is implemented in https://github.com/pallets/click/issues/347.

Seems reasonable to add a line in the docs to say that you have to use argument followed by options. Although I recall this being mentioned several places in the...

I'm not completely understanding, can you clarify what you are asking for? Non zero exit codes are returned in some cases, if there is a missing argument or option. Git...

I looked at the linked issue, what specifically would you change within click. The following seems fairly straightforward to add if your Click app doesn't throw a missing argument exception,...

I'm a little unclear on the exact use case that this bug pertains to. I think @scholli has some good recommendations for anyone hitting this issue. Also a similar issue...

Feel free to open a PR, it's easier to discuss that way! Just be aware it may not make it into Click.

I'm not sure about putting into click core itself, since in general this is pretty easy to implement with sub-classing (as you demonstrated). Perhaps it could be added to the...

Thanks @paxnovem the above example seems to be working as expected in Click 7 with python 3.7 as well. Please reopen if you are still experiencing the issue.