aboutsummaryrefslogtreecommitdiff
path: root/bpkg/bpkg-options.cli
diff options
context:
space:
mode:
Diffstat (limited to 'bpkg/bpkg-options.cli')
-rw-r--r--bpkg/bpkg-options.cli41
1 files changed, 41 insertions, 0 deletions
diff --git a/bpkg/bpkg-options.cli b/bpkg/bpkg-options.cli
new file mode 100644
index 0000000..46cd4eb
--- /dev/null
+++ b/bpkg/bpkg-options.cli
@@ -0,0 +1,41 @@
+// file : bpkg/bpkg-options.cli
+// copyright : Copyright (c) 2014-2015 Code Synthesis Ltd
+// license : MIT; see accompanying LICENSE file
+
+include <bpkg/common-options.cli>;
+
+namespace bpkg
+{
+ class bpkg_options: common_options
+ {
+ bool --help;
+ bool --version;
+ };
+
+ class bpkg_commands
+ {
+ bool help
+ {
+ "[<topic>]",
+ "Show detailed help for a command or help topic.",
+ ""
+ };
+
+ bool rep-create
+ {
+ "[-d <dir>]",
+ "Create repository manifest file.",
+ ""
+ };
+ };
+
+ // Make sure these don't conflict with command names above.
+ //
+ class bpkg_topics
+ {
+ bool options
+ {
+ "Detailed description of common options."
+ };
+ };
+}