summaryrefslogtreecommitdiff
path: root/cli-examples/features/README
blob: 94163200905b4554360f27a4001b3bcbe88ea019 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
This example shows how to use various features of the CLI language.

The example consists of the following files:

options.cli
  Command line interface description in the CLI language.

options.hxx
options.ixx
options.cxx
  Command line interface implementation in C++. These files are generated 
  by the CLI compiler from hello.cli using the following command line:

  cli options.cli

driver.cxx
  Driver for the example. It first instantiates the option class which parses
  the command line. The driver then examines and prints the option values.

To run the example you can try various command lines suggested in options.cli.