argparse
argparse copied to clipboard
Feature-rich command line parser for Lua
I don't see any mention of this in the docs, but it would be nice to mimic the choices parameter as seen in the python argparse module (https://docs.python.org/dev/library/argparse.html#choices).
As far as I can see there is a mutually exclusive functionality but not a mutually inclusive functionality. I guess it is not so hard to check if more then...
In the context in which I'm using argparse, it would be helpful if I could set an option to not exit when using `--help` or when the parsing fails.
It is very useful to parse args partially, like in Python - https://docs.python.org/3/library/argparse.html#partial-parsing Typical usecase - add additional options, depending on the value of another option.
This is a feature request for the "no" prefix modifier where you can prepend 'no' to a flag, and it inverts its value. For example, imagine a --verbose flag that...
If you define a hierarchy of command it should be organized the same way in the result table. It would avoid name collision between command names and argument names of...
I'm not sure if I'm missing something in the documentation, but it seems that default values are not printed unless they are strings. I understand this may not be possible...
I want to show a full help with all options, flags... Is this supported, if not is there a recommended way to do that? Really nice lib btw :)
Right now, this repo links to documentation for the luarocks fork, which has more features than this repo's version. If you come across this version and try to follow the...