diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2020-04-08 14:51:57 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2020-04-27 11:38:53 +0300 |
commit | 720c5a33b6a49cf328fdd7611f49153cf8f60247 (patch) | |
tree | 9725f3d1f42ec90fde84520f49647edea013ce5e /examples/hello/README | |
parent | 3183f3bb927a90783ae0aeaf190a0919377aabe4 (diff) |
Separate tests and examples into individual packages
Also make cli module to be explicitly enabled via the config.cli configuration
variable.
Diffstat (limited to 'examples/hello/README')
-rw-r--r-- | examples/hello/README | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/examples/hello/README b/examples/hello/README deleted file mode 100644 index dd14b01..0000000 --- a/examples/hello/README +++ /dev/null @@ -1,26 +0,0 @@ -This is a "Hello, world!" example that shows how to implement a very basic -command line interface using CLI. - -The example consists of the following files: - -hello.cli - Command line interface description in the CLI language. - -hello.hxx -hello.ixx -hello.cxx - Command line interface implementation in C++. These files are generated - by the CLI compiler from hello.cli using the following command line: - - cli hello.cli - -driver.cxx - Driver for the example. It first instantiates the option class which parses - the command line. The driver then examines the options and prints the - greeting string for each name passed as an argument. - -To run the example you can try the following command lines: - -$ ./driver --help -$ ./driver John Jane -$ ./driver --greeting Hi --exclamations 3 John Jane |