argparse
is a flexible utility for D programming language to parse command line arguments.
[!IMPORTANT] Please be aware that current HEAD contains breaking changes comparing to 1.* version.
-v
) and long (--verbose
) ones.-vvv
is same as -v -v -v
).-v=debug
, --verbose=debug
).int
, float
, bool
).main
function.--
leaving any argument specified after it).string
) data validation (i.e., before parsing).string
-> any destination type
).destination type
).Please find up-to-date documentation here.