CmdParser icon indicating copy to clipboard operation
CmdParser copied to clipboard

A simple and lightweight command line parser using C++11.

Results 11 CmdParser issues
Sort by recently updated
recently updated
newest added

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...

enhancement
help wanted

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,...

enhancement
help wanted
question

Seems you can't have a namespace called "cli" when building with /clr. `error C3292: the cli namespace cannot be reopened`

enhancement
help wanted

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...

enhancement
help wanted

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...

enhancement

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...

enhancement
question

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 ==...

enhancement
help wanted