CLI 1.1.0

Command Line Interface Definition Language for C++
CLI is a domain-specific language (DSL) for defining command-line interfaces of C++ programs. It allows you to describe the options that your program supports, their types, and default values. For example:

include < string >;

class options
{
 bool --help;
 std::string --name = "example";
 unsigned int --level | -l = 5;
};

 
CLI definitions are automatically translated to C++ classes using the CLI compiler. These classes implement parsing of the command line arguments and provide a convenient and type-safe interface for accessing the extracted data. For example:

int main (int argc, char* argv[])
{
 options o (argc, argv);

 if (o.help ())
 print_usage ();

 if (o.level () > 4)
 cerr

last updated on:
December 15th, 2009, 15:50 GMT
price:
FREE!
homepage:
www.codesynthesis.com
license type:
MIT/X Consortium License 
developed by:
Code Synthesis Tools
category:
ROOT \ Programming \ Compilers
CLI
Download Button

In a hurry? Add it to your Download Basket!

user rating

UNRATED
0.0/5
 

0/5

Rate it!

Add your review!

SUBMIT