Command line parsing
Jacob Carlborg via Digitalmars-d
digitalmars-d at puremagic.com
Thu May 12 23:39:49 PDT 2016
On 2016-05-12 19:21, Nick Sabalausky wrote:
> Vibe.d uses a system (built on top of getopt, IIRC) that allows
> different modules to define and handle their own flags. It seems to be
> useful for framework-style libraries where there are certain common
> flags automatically provided and handled by the framework, and then
> individual app developers can add their own program-specific flags. You
> may want to ask Sonke about his specific reasons and experiences with
> that design.
I had to add several new flags when I worked with vibe.d, which I think
should have been included from the start: the port to use, the address
to bind, if worker threads should be used, number of threads to use.
--
/Jacob Carlborg
More information about the Digitalmars-d
mailing list