[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Lua library to process commandlines
- From: Alex Bradbury <asb@...>
- Date: Tue, 8 Mar 2011 15:29:05 +0000
On 8 March 2011 15:18, Luciano de Souza <email@example.com> wrote:
> My question is: there is in Lua a specific library for commandline
> processing? By means of it, could I create a changeable command like that?
See the wiki:
I personally like alt-getopt the best:
My only criticism is that it takes it upon itself to call os.exit for
an unkown option, bad usage etc. It would be a small patch to add an
optional callback you can specify to handle these cases though.