On 16/06/14 23:11, Dicebot wrote:

I don't think it gives any advantage here :)

docopt looks cool, though my I'd prefer something that works other way
around - automatically generates argument parsing code and help messages
from aggregate that represents configuration and/or CLI API (with help
of few UDA).

Same here. I use the argument parser in Tango [1], which I think works well. I have extended the one in Tango to support generating the help message, and some other stuff as well [2].

[1] http://siegelord.github.io/Tango-D2/tango.text.Arguments.html
[2] https://github.com/jacob-carlborg/mambo/tree/master/mambo/arguments

--
/Jacob Carlborg

Reply via email to