CmdParser
CmdParser copied to clipboard
A simple and lightweight command line parser using C++11.
Currently, the tests cannot be run by invoking the test-executable. This is because the very first test `( "Parse help", "[help]" )` leads to `exit(0)` being called inside a callback...
Minor bug concerning `class CmdFunction final : public CmdBase` Coverity scan says line 100: ``` CID 281693 (#1 of 1): Uninitialized scalar field (UNINIT_CTOR) 2. uninit_member: Non-static class member value...
I am interested in essentially parse a vector of vector. One way I thought about doing it is to simply send in multiple values of the same flag. For example,...
Seems you can't have a namespace called "cli" when building with /clr. `error C3292: the cli namespace cannot be reopened`
Raii
With this you don't have to manage heap memory manually anymore and its exception save. Could you please have a look at 33fffb61c947a03c0cf9e1cd3b82bbcd65648464
Hi Florian ! I just discovered right now your lib ! Nice work ! It seems to Valgrind that there are missing calls to delete but memory can be released...
Hey that was nifty, thanks! Working great with C++ 11 and above, I wonder how can this be used without C++11, and should backward compatibility be addressed? I'd like to...
Hello Florian, this is a nice light-weight parser, for which many thanks. I've made a set of changes to allow it to handle Windows UNICODE. Are you interested in a...
You only erase the command from the list, but don't delete it. Potential fix: void disable_help() { for (auto command = _commands.begin(); command != _commands.end(); ++command) { if ((*command)->name ==...