D port of docopt

Robert Schadek via Digitalmars-d-announce digitalmars-d-announce at puremagic.com
Mon Jun 16 14:21:36 PDT 2014


On 06/16/2014 11:11 PM, Dicebot via Digitalmars-d-announce wrote:
> On Monday, 16 June 2014 at 06:51:41 UTC, Jacob Carlborg wrote:
>> Pretty cool idea. Are you aware of that in D you can, at compile
>> time, parse the doc string and generate a command line parser for
>> that particular documentation.
>
> 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).
+1 I could use reviews for this PR
https://github.com/D-Programming-Language/phobos/pull/2072


More information about the Digitalmars-d-announce mailing list