Hi, Thanks for the quick response. I've renamed the main script to cliargs.lua and updated the documentation and the source tarball.
The usage documentation still uses the variable name "cli" though because it's more concise and clear, and that's not forced anyway since the script returns a locally defined variable (doesn't do anything in the global environment.) If there's anything else I need to do, please do tell! Ahmad http://mxvt.net On 06/28/2012 08:32 PM, Hisham wrote: > Hi, > > Thanks for contributing! > > A note, though: you're publishing a file called cli.lua and in the > documentation you mention require("cli"). This means the module name > is effectively cli, so it shouldn't be named 'cliargs' in the > build.modules entry of the rockspec. Please correct this and I'll > upload it to the repository as soon as possible. > > Thank you! > > -- Hisham > http://hisham.hm/ > > > On Thu, Jun 28, 2012 at 9:41 AM, Ahmad Amireh <[email protected]> wrote: >> Hello all, >> >> I would like to submit a single script I packed as a rock according to the >> guidelines here: http://www.luarocks.org/en/Creating_a_rock. The module >> parses CLI arguments passed to a Lua program in a flexible and hassle-free >> manner (something similar to what optparser is for Ruby). >> >> Regarding its stability and maturity, it's a really simple script and I've >> been using it in 3 different applications for some time now without a >> problem. I thought it would be a handy addition because there doesn't seem >> to be a similar solution for Lua that I found. >> >> The project is hosted on GitHub at https://github.com/amireh/lua_cliargs. >> I've created a tarball of the source named after the convention specified in >> the guide above and you can get it at >> https://github.com/downloads/amireh/lua_cliargs/lua_cliargs-1.0.tar.gz. >> >> Thanks for your time and so much more for LuaRocks and the great job you've >> done with it, >> Amireh >> >> PS: I must admit that this is the first time I _post_ to a mailing list, so >> if I've missed some guidelines, please tell me about it before killing me. >> >> ------------------------------------------------------------------------------ >> Live Security Virtual Conference >> Exclusive live event will cover all the ways today's security and >> threat landscape has changed and how IT managers can respond. Discussions >> will include endpoint security, mobile security and the latest in malware >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> _______________________________________________ >> Luarocks-developers mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/luarocks-developers >> ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Luarocks-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/luarocks-developers
