./app commmand 1 command 2should work with callbacks, but might not ever have been implemented and tested. I wrote
Listing a subcommand twice should increment the count twice, in theoryin CLIUtils/CLI11#178. So I think the count will not go above 1 for now.
./app command commandshould work, though
// setup subcommands CLI11_PARSE(…); if(subcommand1) cout << subcommand_x;
subcommand_x(an option in the subcommand)
./imagetool draw 0 1 draw 1 2 draw 2 1to make a triangle, for a related example