clipp icon indicating copy to clipboard operation
clipp copied to clipboard

easy to use, powerful & expressive command line argument parsing for modern C++ / single header / usage & doc generation

Results 51 clipp issues
Sort by recently updated
recently updated
newest added

Could you help me to parse an option with a string like this: command --arg "abc: - (cde, 0)" is it possible to use delimiter, like ", to specify the...

What is the best way to achieve a command line like the following: ``` exe fetch ``` The number of origins should be fixed to a given number. The only...

sample code: ```cpp #include #include #include #include #define VERSION "0.0.0.0" class app { public: app(int argc, const char** argv) { args.assign(argv, argv + argc); } int exec() { try {...

The [timing.cpp](https://github.com/muellan/clipp/blob/master/examples/timing.cpp) example is broken when passing flags: This works fine: ```sh ./timing -n 10 exename -- some_string ``` This gives a parse error: ```sh ./timing -n 10 exename --...

bug
documentation

This repository's `README.md` is way too long. The documentation specifics should be in a separate `.md` file, on the wiki, or both; and the main `README.md` should focus on the...

documentation

Even though this project is header-only, it can be helpful to provide a pkg-config file for build systems that support it.

I am using the commands semantics to implement several mandatory choices, but I would like to have a default command choice, when the user does not include the command on...

question

See this example: ``` int main(int argc, char **argv) { bool optionSpecified = false; std::string optionvalue; auto helpCmd = command("help"); auto cmd1 = command("cmd1"); auto cmd2 = command("cmd2"); auto cmd3...

bug

Hi, I am playing around this lib right now and found it is great. I wanted to created a group of one prarameter: ``` cli = ( "group 1" %...

Is it possible to dedup args that are listed multiple times in different commands? Here's an example: ``` bool val1, val2, val3; auto arg1 = required("--arg1").set(val1) % "doc for arg1";...

enhancement