aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorPeter Melnichenko <mpeterval@gmail.com>2016-06-03 11:16:55 +0300
committerPeter Melnichenko <mpeterval@gmail.com>2016-06-03 11:58:47 +0300
commitd55041dbc477000d0aa8a1585824958b0ade66a1 (patch)
tree99e2d28a30da52973fbc9caf2817f5fdf5c5fe19 /test
parentd524b515c67ceded00a15c2617283f81a2f21f7c (diff)
downloadluarocks-d55041dbc477000d0aa8a1585824958b0ade66a1.tar.gz
luarocks-d55041dbc477000d0aa8a1585824958b0ade66a1.tar.bz2
luarocks-d55041dbc477000d0aa8a1585824958b0ade66a1.zip
Refactor CLI to avoid double args parsing
New command module interface: instead of 'run' function they must have 'command' function that accepts flags table and other arguments. For compatibility a new util function is called on all command modules: it adds 'run' function that parses command-line args before passing them to 'command'.
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions