I’m currently working on a project which is using
Cmdliner to deal with the command-line. I need to add a feature, but I don’t know if I have to handle it myself or, if the library is able to do it for me.
My goal is to add two options: a flag
--mock and an option
--power <string>. However, I don’t want these options to be used at the same time. I can handle it in the function given to
Term.const but I was wondering if the library has a native mechanism to deal with it?