aboutsummaryrefslogtreecommitdiff
path: root/bdep/config.cli
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2018-03-05 18:19:59 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2018-03-05 18:19:59 +0200
commit676a035c863a686391422e690e0a743b0d62d782 (patch)
treea5d37aae4cb4e1ddb5d1a3e048d69dc8d59f1c05 /bdep/config.cli
parent100150a3598d931fbbee361c33374cd5b95a8d86 (diff)
Command line interface synopsis sketches for init and config commands
Diffstat (limited to 'bdep/config.cli')
-rw-r--r--bdep/config.cli44
1 files changed, 44 insertions, 0 deletions
diff --git a/bdep/config.cli b/bdep/config.cli
new file mode 100644
index 0000000..73d5444
--- /dev/null
+++ b/bdep/config.cli
@@ -0,0 +1,44 @@
+// file : bdep/config.cli
+// copyright : Copyright (c) 2014-2017 Code Synthesis Ltd
+// license : MIT; see accompanying LICENSE file
+
+include <bdep/common.cli>;
+
+"\section=1"
+"\name=bdep-config"
+"\summary=manage project build configurations"
+
+namespace bdep
+{
+ {
+ "<options>
+ <cfg-spec> <cfg-name> <cfg-dir>
+ <prj-spec> <prj-dir>
+ <cfg-args> <cfg-var> <module>",
+
+ "\h|SYNOPSIS|
+
+ \c{\b{bdep config add} \ \ \ [<options>] [<prj-spec>] [\b{@}<cfg-name>] <cfg-dir>\n
+ \b{bdep config create} [<options>] [<prj-spec>] [\b{@}<cfg-name>] <cfg-dir> [<cfg-args>]\n
+ \b{bdep config remove} [<options>] [<prj-spec>] <cfg-spec>}
+
+ \c{<prj-spec> = \b{--directory}|\b{-d} <prj-dir>\n
+ <cfg-args> = (<module> | <cfg-var>)...\n
+ <cfg-spec> = (\b{@}<cfg-name> | \b{--config}|\b{-c} <cfg-dir>)... | \b{--all}|\b{-a}}
+
+ \h|DESCRIPTION|
+
+ The \cb{config} command..."
+ }
+
+ class config_options: common_options
+ {
+ "\h|CONFIG OPTIONS|"
+
+ bool --default|-d
+ {
+ //@@ Need to explain what it means.
+ "Make the added or created configuration default."
+ }
+ };
+}