New library: argparse, for parsing CLI arguments
Steven Schveighoffer
schveiguy at gmail.com
Tue Oct 19 14:06:21 UTC 2021
On 10/19/21 6:54 AM, Andrey Zherikov wrote:
> On Monday, 18 October 2021 at 13:16:01 UTC, Steven Schveighoffer wrote:
>> Prepare for some PRs, I already see ways to make this better ;)
>
> Don't you mind sharing your ideas?
>
Just nitpicks. Like allowing `@NamedArgument` without parentheses. Or
using `@NamedArgument("b", "banana", "ban")` instead of
`@NamedArgument(["b", "banana", "ban"])`
All this is possible. It takes some effort on the library side, but
makes things pleasant to use.
I'll know more when I start using it.
-Steve
More information about the Digitalmars-d-announce
mailing list