argagg
argagg copied to clipboard
A simple C++11 command line argument parser
This would allow using the library by using `target_link_libraries` instead of having to copy files around or setting include paths manually. It's useful when using git submodules or CMake's FetchContent...
feature request: since you're already supporting fmt, it would be nice provide a completely iostreams-free option.
Hi, I would like to know if argagg could implement support for short options with =value syntax, like -std=c++11 of GCC and Clang
I would like to have a way to tell argagg to forward unknown arguments to a generic sink, so that unrecognized arguments can be processed by other means. Similar to...
Is it possible to allow long names with a single dash? e.g. `-log=errors-only` obviously, short opt-s grouping should be disabled in this case
I realized that the [definition name](https://github.com/vietjtnguyen/argagg/blob/master/include/argagg/argagg.hpp#L390-L394) isn't really needed. I used it because I wanted a name to key on so that you can reference the option's parse results using...
Without a move constructor you cannot use some STL algorithms (like `std::remove_if()`) on a `std::vector`.
Expand the data structure so that a user can walk through all option results in the order of parse. This will likely entail a back reference from the option result...
it would probably be convenient to have `ostream` `operator
pattern is ``` T ret = static_cast(std::strtoX(arg, &endptr, 0)); if (endptr == arg) { throw std::invalid_argument(msg.str()); } ``` issues: - static_cast hides target value overflow if T shorter than long...