Skip to content

How to: Flag whose presence disables validation (like --help) #1288

Closed Answered by jasonkuhrt
jasonkuhrt asked this question in Q&A
Discussion options

You must be logged in to vote

We can override command init method. We already were, and were running parse there, but I didn't know that until now. Not sure if init by default does a parse too, or that's just because of our logic. Anyways, either way, init method overriding is the solution in my case.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by jasonkuhrt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant