mirror of
https://github.com/TangentFoxy/argparse.git
synced 2025-07-28 02:52:20 +00:00
updated README [ci skip]
This commit is contained in:
24
README.md
24
README.md
@@ -7,19 +7,13 @@ Feature-rich command line parser for Lua inspired by argparse for Python.
|
|||||||
|
|
||||||
WIP.
|
WIP.
|
||||||
|
|
||||||
TODO L1
|
TODO
|
||||||
=======
|
====
|
||||||
|
|
||||||
* Document NYI declarative interface. Choices, converters.
|
* Add choices, converters.
|
||||||
* Write tests related to NYI declarative interface.
|
* Write tests related to declarative interface.
|
||||||
* Implement NYI declarative interface.
|
* Write more tests related to parsing.
|
||||||
|
* Write tests related to commands.
|
||||||
TODO L2
|
* Implement automated help and usage message generation.
|
||||||
=======
|
* Improve error messages.
|
||||||
|
* Suggestions for command typos. E.g. `$ luarocks isntall` -> `Did you mean 'install'?`.
|
||||||
* Document parsing.
|
|
||||||
* Write tests related to parsing.
|
|
||||||
* Refactor/rewrite parsing stuff.
|
|
||||||
* Current Parser class should be just a container for information used in parsingm such as options, commands, etc. The relation between Parser and ParserState should be reversed; ParserState should be the actual parser; it should process args and query Parser when needed.
|
|
||||||
* `-` shouldn't be the only character for options/flags. Infer all of them from first characters of option aliases.
|
|
||||||
* Suggestions for command typos. E.g. `$ luarocks isntall` -> `Did you mean 'install'?`
|
|
||||||
|
Reference in New Issue
Block a user