aboutsummaryrefslogtreecommitdiff
path: root/bbot/agent.cli
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2017-04-01 16:46:03 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2017-04-01 16:46:03 +0200
commita133e7b03bd67c992cfb240bd300967ffab31ba2 (patch)
tree02c54f4c9b7f48aeb5230e230a4bb00bb1609c2c /bbot/agent.cli
parent2ae123ce8e8a874ada7e8c776abfc0742d862277 (diff)
Setup build infra
Diffstat (limited to 'bbot/agent.cli')
-rw-r--r--bbot/agent.cli42
1 files changed, 42 insertions, 0 deletions
diff --git a/bbot/agent.cli b/bbot/agent.cli
new file mode 100644
index 0000000..a52579f
--- /dev/null
+++ b/bbot/agent.cli
@@ -0,0 +1,42 @@
+// file : bbot/agent.cli
+// copyright : Copyright (c) 2014-2017 Code Synthesis Ltd
+// license : MIT; see accompanying LICENSE file
+
+include <bbot/common.cli>;
+
+"\section=1"
+"\name=bbot-agent"
+"\summary=build bot agent"
+
+namespace bbot
+{
+ {
+ "<options> <file>",
+
+ "
+ \h|SYNOPSIS|
+
+ \cb{bbot-agent --help}\n
+ \cb{bbot-agent --version}\n
+ \c{\b{bbot-agent} [<options>] <toolchain>}
+
+ \h|DESCRIPTION|
+
+ \cb{bbot-agent} @@ TODO.
+ "
+ }
+
+ class agent_options
+ {
+ "\h|OPTIONS|"
+
+ bool --help {"Print usage information and exit."}
+ bool --version {"Print version and exit."}
+ };
+
+ "
+ \h|EXIT STATUS|
+
+ Non-zero exit status is returned in case of an error.
+ "
+}