Clig

clig (Command Line Interpreter Generator) is a *NIX command line utility which uses a simple description file to create C code to interpret the typical *NIX command line as well as an up-to-date usage message and a manual page skeleton.  It supports Flag, String, Int, Long, Float and Double types, with ranges, defaults, and more.  The generated C-Code is ANSI but has been reported to work with C++.  It is self-contained code which does not depend on any library other than libc.  Included is a TCL package to instrument TCL scripts in the same way as C programs. 

External links
Latest clig sourcecode
clig --- Command Line Interpreter Generator
Debian clig

Category:Unix programming tools