Philip Top

Results 298 comments of Philip Top

On several of the subfunction calls the exception path is `std::string` not being able to be allocated. Which as far as I am concerned if that occurs the program should...

I believe you can use the alias option on option_groups, this will allow the group name to be used in the config. ``` app.add_option_group("ogroup")->alias("ogroup"); ``` ``` [default] val=1 [ogroup] val2=2...

``` #include int main(int argc, char **argv) { CLI::App app{"App"}; int a, b; auto ogroup = app.add_option_group("subgroup", "do a"); ogroup->add_option("a", a, "option a"); ogroup->add_option("-o", b, "do other thing"); ogroup->require_option(1,1); //...

The way you had it before was just grouping so both were required as if they were members of the app directly.

Ok so ```C++ int main(int argc, const char *argv[]) { CLI::App app{"App"}; int a{0}, b{0}; bool other{false}; auto ogroup_a = app.add_option_group("a_group", "do a"); ogroup_a->enabled_by_default(); ogroup_a->add_option("a", a, "option a")->required(); auto triggerGroup...

We would need to make sure that the library worked well as a subproject in cmake as part of a bigger project, that requires a bit more care and flexibility...

I am wondering if even in the single header mode if it would make sense to have a majority of the Validators split into a separate header. Based on some...

That example seems a bit out of date, the whole book probably needs some updating. As far as I know In previous versions of CLI11 there was components that used...

I haven't updated the book too much but am starting to look at it a little more. The main README is kept up to date pretty well. [here](https://github.com/GMLC-TDC/HELICS/blob/master/src/helics/core/helicsCLI11.hpp#L160) is an...

I think now that the book is part of the main repo it might be a little easier to keep that updated, but it does have some needed work to...