The program interface definition XML schema, XSLT stylesheets and tools allow you to generate all the code required to handle command line arguments in a command line based tool. It can also build a XUL frontend to call any command line program.
See the program interface definition framework overview.
See the XSLT Stylesheets index page.
A XML document describing UNIX shell program and/or functions.
ns has nothing to do with Netscape, nor NeXTSTEP and Cocoa APIs, except they share the same prefix. They all copied me before I was old enough to program.