[API change] New way to create command line options.#572
[API change] New way to create command line options.#572Qwlouse merged 23 commits intoIDSIA:masterfrom
Conversation
|
looks good to me together with #569. From my side we could agree on making this the new default api. |
Co-Authored-By: Rüdiger Busche <ruedigerbusche@web.de>
|
Interface looks good to me. The only thing I am unsure about is how to handle default commandline options. Currently you are using |
|
@Qwlouse good point. Let me change that. |
|
@Qwlouse I added |
|
@Qwlouse Are you ok with the new implementation? |
Qwlouse
left a comment
There was a problem hiding this comment.
Looks very good, but I would add some validation to the CLI options to catch errors early and provide an informative error message.
|
I added the correctness checks. One last look maybe before we can merge? |
Co-Authored-By: Rüdiger Busche <ruedigerbusche@web.de>
Co-Authored-By: Rüdiger Busche <ruedigerbusche@web.de>
This is backward compatible.
Old command line options:
New way (borrowed from the
clickAPI, intuitive for people who have used it):