[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Command Line Parsing?
- From: "Pierre Chapuis" <catwell@...>
- Date: Mon, 11 Apr 2016 23:00:28 +0200
> https://github.com/edartuz/lua-cmdl
That module modifies the "os" table for no good reason.
Otherwise I guess it would be fine.
Based on Lua Toolbox [1]I would suggest:
- argparse [2] Mentioned in the wiki, inspired by Python module, 5.1 to 5.3.
- lua_cliargs [3] Pure Lua but maybe a bit complex, 5.1 to 5.3.
- alt-getopt [4] Looks like what you wanted, but looks unmaintained and
uses module().
[1] https://lua-toolbox.com/label/16
[2] https://github.com/mpeterv/argparse
[3] https://github.com/amireh/lua_cliargs
[4] https://github.com/LuaDist/alt-getopt
--
Pierre Chapuis