summaryrefslogtreecommitdiff
path: root/examples/hello/hello.cli
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2009-09-27 19:18:32 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2009-09-27 19:18:32 +0200
commitcede34ad1ac6730f5f2c88b4dd655f90589ae803 (patch)
tree37a35f45833fc4ffb71f643c07d8828b9b329e01 /examples/hello/hello.cli
parentc2b7e8a5a7bc98bcf5e03b32eefaa664442c26fe (diff)
Add a hello world example
Diffstat (limited to 'examples/hello/hello.cli')
-rw-r--r--examples/hello/hello.cli8
1 files changed, 8 insertions, 0 deletions
diff --git a/examples/hello/hello.cli b/examples/hello/hello.cli
new file mode 100644
index 0000000..9907510
--- /dev/null
+++ b/examples/hello/hello.cli
@@ -0,0 +1,8 @@
+include <string>;
+
+class options
+{
+ bool --help;
+ std::string --greeting = "Hello";
+ unsigned int --exclamations = 1;
+};