cxxopts
cxxopts copied to clipboard
Lightweight C++ command line option parser
I have a case where I want to store unhandled options in a `std::vector` and use later. I'm thinking adding a `std::vector` parameter to the parse method with a default...
``` Running tests... /opt/local/bin/ctest --force-new-ctest-process Test project /opt/local/var/macports/build/_opt_svacchanda_SonomaPorts_devel_cxxopts/cxxopts/work/build Start 1: options 1/3 Test #1: options ..........................SIGTRAP***Exception: 0.30 sec Start 2: find-package-test 2/3 Test #2: find-package-test ................ Passed 1.37 sec Start...
Hi, I've got a simple app with an `--input` argument that contains a path with a space. I'm using VS and `launch.vs.json` to launch this, so the `args` part of...
Adds a method imitating C++20 std::map contains method for ParseResult. This makes certain syntax more concise: ``` options.add_options() ... ("d,debug", "Enable debugging") ... ; bool debug = result.contains("debug"); ``` Obviously...
Hi, I was configuring cxxopts for new project and used some implicit values. They look a little too complex for me ``` --fullscreen [=monitor_name(=PRIMARY)] ``` with a little tweak (see...
I hope to support the installation of cxxopts together with the main project - - - This change is [](https://reviewable.io/reviews/jarro2783/cxxopts/437)