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.