Bug#783667: ITP: lua-cliargs -- command-line argument parsing module for Lua
Package: wnpp
Severity: wishlist
Owner: Jason Pleau <jason@jpleau.ca>
* Package name : lua-cliargs
Version : 2.5-1
Upstream Author : Ahmad Amireh <ahmad@amireh.net>
* URL : https://github.com/amireh/lua_cliargs
* License : MIT
Programming Lang: Lua
Description : command-line argument parsing module for Lua
cliargs is a command-line argument parser for Lua. It supports several types
of arguments:
.
* required arguments
* optional arguments with different notations: -short-key VALUE and/or
--expanded-key=VALUE
* optional arguments with multiple-values that get appended to a list
* optional "flag" arguments (on/off options) with notations: -short-key
and/or --expanded-key
* a single optional "splat" argument which can be repeated (must be the last
argument)
.
Optional arguments can have default values (strings), flags always default to
'true'.
This package is a dependency of busted (#783044), which in turn is a dependency
to run tests for neovim (#752264).
I plan to maintain it in pkg-lua.
Reply to: