Clara
Clara copied to clipboard
A simple to use, composable, command line parser for C++ 11 and beyond
Discovered "the hard way" in a Catch2-using project that while you are allowed to add flags like `["-abc"]` for an `Opt`, trying to actually specify it will never work -...
Dear Clara authors, First thanks for this lightweight cmdline parsing library. It's much appreciated after years of program_options. :wink: I'm using Clara and I noticed that most of the time...
Integer arguments with trailing garbage are successfully decoded instead of giving an error: `42garbage` is decoded as 42 instead of parse error This will be also a problem for other...
Note: contains "required options" features from BMBurstein's fork
I'd love a way to constrain a positional argument to "one of" a range of values only. For example, one of a selection of strings like "slow", "medium" or "fast"...
I'm guessing this is just not written yet, since the spot where it'd go at the end of `parse()` has a `// !TBD` about it. It doesn't look like there's...
I checked the ``required()" function of an Opt and try to use it to represent a mandatory option in my project, however, seems it only affects the printed information of...