CLI11
CLI11 copied to clipboard
CLI11 is a command line parser for C++11 and beyond that provides a rich feature set with a simple and intuitive interface.
If I add an option with short_name="o", name="option", and then another option with short_name="o" and name="another-option" an OptionAlreadyAdded will be thrown since the short name "o" is already in use....
Given ``` using namespace std::literals; auto duration = 1s; CLI::App app; app.option_defaults()->ignore_case(); app.add_option_function("--duration", [&](auto&& a_value){ duration = std::chrono::seconds{a_value}; }, "valid units: sec, min, h, day.")->capture_default_str()->check(CLI::AsNumberWithUnit(std::map{{"sec", 1}, {"min", 60}, {"h", 3600},{"day",...
With current master / v1.9.1, it is observed that... for an option relating to behaves incorrectly in the following scenarios : - When options passed by mistake does not contain...
If I run a command where option1 is configured for 0 or 1 inputs and I try to open the help menu, it doesnt open: ``` cmd subcmd --option1 --help...
Hello. I am not (yet) a CLI11 user but I am growing frustrated with the bugs in [clipp](https://github.com/muellan/clipp) and CLI11 seems like a very mature alternative. The README states that...
Maps are sorted containers, and enums are sorted too. When presenting users a set of choices, like verbosity level, for example, it makes sense to sort them by their value,...
Many (?) readers don't recognize the term "subcommand" - although they might actually be interested in the feature; they (read: I) simply haven't heard that term used before. The README.md...
I am trying to print a XML description of my program with all options etc. when the user provides a special "help" option, which could be for example `--help xml`,...
Hi! Thank you a lot for the library! I use it in almost every my project and it's awesome. However that's a little bit tricky to use this library via...
I'm unable to find a code style guide in this project. However, `git grep -n guide` shows that in App.hpp:62, @henryiii seemed to plan on using the [Google C++ Style...