diff options
author | Peter Melnichenko <mpeterval@gmail.com> | 2016-06-03 11:16:55 +0300 |
---|---|---|
committer | Peter Melnichenko <mpeterval@gmail.com> | 2016-06-03 11:58:47 +0300 |
commit | d55041dbc477000d0aa8a1585824958b0ade66a1 (patch) | |
tree | 99e2d28a30da52973fbc9caf2817f5fdf5c5fe19 /test | |
parent | d524b515c67ceded00a15c2617283f81a2f21f7c (diff) | |
download | luarocks-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