Command Line Utility Library

Seb via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon Aug 15 03:48:11 PDT 2016


On Monday, 15 August 2016 at 09:26:21 UTC, Jacob Carlborg wrote:
> On 2016-08-15 09:29, UDW wrote:
>> Hi,
>>
>> I would like some options for a library, preferably json 
>> configurable,
>> that helps with command line tool development. Doesn't have to 
>> be in D
>> specifically.
>>
>>
>> Currently I am using using std.getopt. I had a search in the 
>> DUB repos
>> and in github but didn't really find anything appealing.
>
> I think you need to be a bit more specific on what you need.


Are you trying to parse arguments?
There's a lot of good stuff for it already:

https://dlang.org/phobos/std_getopt.html
https://code.dlang.org/packages/darg
https://blog.thecybershadow.net/2014/08/05/ae-utils-funopt/


For configuration files:

https://code.dlang.org/packages/onyx-config
https://code.dlang.org/packages/inid
https://code.dlang.org/packages/yamkeys
https://code.dlang.org/packages/runtimer
https://code.dlang.org/packages/variantconfig


More information about the Digitalmars-d-learn mailing list