iffy / nim-argparse

Argument parsing for Nim
MIT License
122 stars 8 forks source link

Required options #31

Closed bluenote10 closed 3 years ago

bluenote10 commented 5 years ago

Another feature that I'm missing (unless I'm missing something ;)) is to have required options. As far as I can see mandatory arguments are currently only possible as positional arguments. I often prefer options like -i/--input/-o/--output/--important-param over positional arguments for their explicitness and positional independence.

iffy commented 5 years ago

You're not missing anything :) Required options aren't implemented yet. And I like using them too for the same reasons

iffy commented 3 years ago

Finally, this is implemented!