L

Opt parser using synopsis as specification, ported originally by Steve Donovan from his Lua implementation: http://lua-users.org/wiki/LappFramework

public

 

Lapp is a command line parser that uses the regular help text for the synopsis as the specification for the options and arguments, it was originally written by Steve Donovan in Lua:

http://lua-users.org/wiki/LappFramework

...and ported to Nim by Steve. Then I made it work with current Nim.

See example.nim for how to use it.