On Windows there is an extension to get the args automatically without passing them in, as in:
int main()
{
argh::parser cmdl;
// ...
}
Things to note:
__argv et al. perform wildcard expansion, which may or may not be desirable.
- Need a way to differentiate between auto parsing and default ctor.