Command Line Utility Library

UDW via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue Aug 16 23:41:43 PDT 2016


On Tuesday, 16 August 2016 at 07:19:18 UTC, Edwin van Leeuwen 
wrote:
> I am using:
> http://code.dlang.org/packages/docopt
>
> It's not really json configurable, but that shouldn't be to 
> complex to implement yourself.

That's also very nice. I hadn't thought of writing the help text 
first and then having a parser for the usage to generate options.
Much appreciated.

On Tuesday, 16 August 2016 at 01:46:53 UTC, Seb wrote:
> Have you had a detailed look at std.getopt?
> https://dlang.org/phobos/std_getopt.html
>
> That's very similar to commander.js ;-)

I shall reread the std.getopt doco.

ty ss :)


More information about the Digitalmars-d-learn mailing list