CLI definition language


I'm sure you've had the occasion on which you developed an interesting application, and now required the ability to control it from the command line. The standard C/C++ functions for implementing various switches and input is nothing fun to work with, and the various template and composition based solutions are too complex most of the time.

Check out this interesting project:

You define the options you want in a very, very simple definition language, compile it into a C++ class file and voila: you can use it in your main() function.


No comments:

Post a Comment