FLAP
FLAP copied to clipboard
Fortran command Line Arguments Parser for poor people
Dear @szaghi ! I have couple of questions. - What behaviour is expected when launching program as ./a.out command --help ?? Right now it is equal to ./a.out --help -...
If a group is passed more than once an error should be raised
Hi @szaghi , Here I post a suggestion that I think could be interesting. I've recently discovered `save_usage_to_markdown` and `save_man_page` procedures. It's a really smart idea to enable a binary...
Add group inheritance prevent duplicating CLAs: for example now we have to do ```fortran call cli%add_group(group='reconstruct', description='perform WENO reconstruction') call cli%add(group='reconstruct', switch='--interpolator', switch_ab='-i', help='WENO interpolator type', required=.false., & def='JS', act='store',...
Add support for (optional) ansi colored output by means of [FACE](https://github.com/szaghi/FACE).
For CLI having a long list of CLAs it could be helpful to *section* CLAs in families of CLAs, e.g. files-section, dirs-section, input-section... Something similar to [argparse groups](https://docs.python.org/3/library/argparse.html#argument-groups) that is...
Currently, a CLA can have the optional `choices` checker to verify if the passed argument is allowed. This is good for checking against a finite number of allowed values, but...