D port of docopt
Jacob Carlborg via Digitalmars-d-announce
digitalmars-d-announce at puremagic.com
Mon Jun 16 23:37:52 PDT 2014
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
More information about the Digitalmars-d-announce
mailing list