diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2017-04-03 15:54:25 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2017-04-03 15:54:25 +0200 |
commit | 798a0aab2fbb5aed01bbd8419b65a03fb4602b3f (patch) | |
tree | 480c89c64c5113cc015934a82d03e0dc45ed5c67 /bbot/worker.cli | |
parent | c13366d910ebbdfc30c8b399ff29161747537d1c (diff) |
Make agent simple systemd daemon, add worker stub
Diffstat (limited to 'bbot/worker.cli')
-rw-r--r-- | bbot/worker.cli | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/bbot/worker.cli b/bbot/worker.cli new file mode 100644 index 0000000..7457790 --- /dev/null +++ b/bbot/worker.cli @@ -0,0 +1,42 @@ +// file : bbot/worker.cli +// copyright : Copyright (c) 2014-2017 Code Synthesis Ltd +// license : MIT; see accompanying LICENSE file + +include <bbot/common.cli>; + +"\section=1" +"\name=bbot-worker" +"\summary=build bot worker" + +namespace bbot +{ + { + "<options> <file>", + + " + \h|SYNOPSIS| + + \cb{bbot-worker --help}\n + \cb{bbot-worker --version}\n + \c{\b{bbot-worker} [<options>] <toolchain>} + + \h|DESCRIPTION| + + \cb{bbot-worker} @@ TODO. + " + } + + class worker_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. + " +} |