I've noticed that the CLI interface doesn't allow common patterns used by most CLI tools, concretely: "don't require args to be passed after whitespace, also accept after = and when being a short arg allow them directly (-T4 is same as -T 4)
$ ./cmaple -T4
Invalid "-T4" option.
$ ./cmaple -T=4
Invalid "-T=4" option.
I've noticed that the CLI interface doesn't allow common patterns used by most CLI tools, concretely: "don't require args to be passed after whitespace, also accept after
=and when being a short arg allow them directly (-T4is same as-T 4)Right now I get this:
This is a great guide for making nice CLIs: https://clig.dev/#arguments-and-flags
Some concrete libraries you could use: