aboutsummaryrefslogtreecommitdiff
path: root/bdep/sync.cli
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2018-03-12 11:17:21 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2018-03-12 11:17:21 +0200
commit5dcbecfd8b83f516c067780214f06321f03d1cce (patch)
tree20dcd6d7c602c4fcc7432f46336086156c929067 /bdep/sync.cli
parent4d181c3aad97f8ee224666ce5c757036c5f610d5 (diff)
Initial sync implementation
Diffstat (limited to 'bdep/sync.cli')
-rw-r--r--bdep/sync.cli39
1 files changed, 39 insertions, 0 deletions
diff --git a/bdep/sync.cli b/bdep/sync.cli
new file mode 100644
index 0000000..27c62ff
--- /dev/null
+++ b/bdep/sync.cli
@@ -0,0 +1,39 @@
+// file : bdep/sync.cli
+// copyright : Copyright (c) 2014-2017 Code Synthesis Ltd
+// license : MIT; see accompanying LICENSE file
+
+include <bdep/project.cli>;
+
+"\section=1"
+"\name=bdep-sync"
+"\summary=synchronize project and configurations"
+
+namespace bdep
+{
+ {
+ "<options>
+ <prj-spec> <prj-dir>
+ <pkg-spec> <pkg-dir>
+ <cfg-spec> <cfg-name> <cfg-dir>",
+
+ "\h|SYNOPSIS|
+
+ \c{\b{bdep sync} [<options>] [<pkg-spec>] [<cfg-spec>]}
+
+ \c{<prj-spec> = \b{--directory}|\b{-d} <prj-dir>\n
+ <pkg-spec> = (\b{--directory}|\b{-d} <pkg-dir>)... | <prj-spec>\n
+ <cfg-spec> = (\b{@}<cfg-name> | \b{--config}|\b{-c} <cfg-dir>)... | \b{--all}|\b{-a}}
+
+ \h|DESCRIPTION|
+
+ The \cb{sync} command..."
+ }
+
+ // Note that not all project/configuration options are valid for all
+ // subcommands.
+ //
+ class cmd_sync_options: project_options
+ {
+ //"\h|SYNC OPTIONS|"
+ };
+}