"Command line arguments parser that will make you smile" (port of docopt to Nim).
Visit docopt.org for more information.
If you don't know what this does...
There are different kinds of command-line argument parsing libraries. Some are too simple, some are heavy and allow complex constructs, validation, conversion, and automatic generation of help messages.
This one, however, does something different. All you need to provide is a POSIX-conformant help/usage message (the one that you see by writing --help), and it will do the rest for you, including most of the features that the "heavy" libraries have!
This library is a direct translation of the original Python implementation. It is complete and passes all 174 tests.
*claps*
Man, this is great! Porting something directly from python is no small feat, and arguably harder than porting something like C - You have to actively work to fit the more dynamic aspects from python into the static aspects of Nim. - I wholeheartedly congratulate you!
great job, I really like docopt lib.
hope to see more and more Python lib transposed to Nim