D port of docopt
Dicebot via Digitalmars-d-announce
digitalmars-d-announce at puremagic.com
Mon Jun 16 14:11:01 PDT 2014
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).
More information about the Digitalmars-d-announce
mailing list