Re: Command Line Utility Library

2016-08-16 Thread UDW via Digitalmars-d-learn
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 ha

Re: Command Line Utility Library

2016-08-16 Thread Seb via Digitalmars-d-learn
On Tuesday, 16 August 2016 at 13:52:19 UTC, Edwin van Leeuwen wrote: On Tuesday, 16 August 2016 at 13:32:26 UTC, Jacob Carlborg wrote: On 2016-08-16 11:37, Seb wrote: Manual work? O_o Just open code.dlang.org and either hit CTRL-F or use the search bar (Martin added elastic search two months

Re: Command Line Utility Library

2016-08-16 Thread Edwin van Leeuwen via Digitalmars-d-learn
On Tuesday, 16 August 2016 at 13:32:26 UTC, Jacob Carlborg wrote: On 2016-08-16 11:37, Seb wrote: Manual work? O_o Just open code.dlang.org and either hit CTRL-F or use the search bar (Martin added elastic search two months ago) as the packages usually have a very low PageRank. It's a bit

Re: Command Line Utility Library

2016-08-16 Thread Jacob Carlborg via Digitalmars-d-learn
On 2016-08-16 11:37, Seb wrote: Manual work? O_o Just open code.dlang.org and either hit CTRL-F or use the search bar (Martin added elastic search two months ago) as the packages usually have a very low PageRank. It's a bit problematic when you don't know what to search for. Not all projects

Re: Command Line Utility Library

2016-08-16 Thread Seb via Digitalmars-d-learn
On Tuesday, 16 August 2016 at 06:27:12 UTC, Jacob Carlborg wrote: On 2016-08-16 04:29, Jonathan Marler wrote: Seb how in the heck do you know about all these libraries, geeze. Currently Dub has so few libraries that it's possible to manually scan the list. Manual work? O_o Just open code.d

Re: Command Line Utility Library

2016-08-16 Thread Edwin van Leeuwen via Digitalmars-d-learn
On Monday, 15 August 2016 at 07:29:58 UTC, 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. I am using: http://code.dlang.org/packages/docopt It's not really json conf

Re: Command Line Utility Library

2016-08-15 Thread Jacob Carlborg via Digitalmars-d-learn
On 2016-08-16 04:29, Jonathan Marler wrote: Seb how in the heck do you know about all these libraries, geeze. Currently Dub has so few libraries that it's possible to manually scan the list. -- /Jacob Carlborg

Re: Command Line Utility Library

2016-08-15 Thread Jonathan Marler via Digitalmars-d-learn
On Monday, 15 August 2016 at 10:48:11 UTC, Seb wrote: 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 file

Re: Command Line Utility Library

2016-08-15 Thread Seb via Digitalmars-d-learn
On Tuesday, 16 August 2016 at 01:23:16 UTC, UDW wrote: On Monday, 15 August 2016 at 10:48:11 UTC, Seb wrote: [...] Thanks for the suggestions Seb, https://blog.thecybershadow.net/2014/08/05/ae-utils-funopt/ looks very nice :). I just thought there would be a standard library, stdclib, phobo

Re: Command Line Utility Library

2016-08-15 Thread UDW via Digitalmars-d-learn
On Monday, 15 August 2016 at 10:48:11 UTC, Seb wrote: 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 file

Re: Command Line Utility Library

2016-08-15 Thread Seb via Digitalmars-d-learn
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.ge

Re: Command Line Utility Library

2016-08-15 Thread Jacob Carlborg via Digitalmars-d-learn
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

Command Line Utility Library

2016-08-15 Thread UDW via Digitalmars-d-learn
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. t