aboutsummaryrefslogtreecommitdiff
path: root/bpkg/cfg-add.cli
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-01-11 10:04:02 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-01-11 10:04:02 +0200
commitad257079568746d71d913c6fca96852da6fe3bd6 (patch)
treed7a59392a1159c630c4fd0ccad816e9fd3acadf3 /bpkg/cfg-add.cli
parent302834a875804ff943dfb005682949fd3d404d01 (diff)
Reorganize .cli files, add man/xhtml page generation (via script for now)
Diffstat (limited to 'bpkg/cfg-add.cli')
-rw-r--r--bpkg/cfg-add.cli30
1 files changed, 30 insertions, 0 deletions
diff --git a/bpkg/cfg-add.cli b/bpkg/cfg-add.cli
new file mode 100644
index 0000000..34909e9
--- /dev/null
+++ b/bpkg/cfg-add.cli
@@ -0,0 +1,30 @@
+// file : bpkg/cfg-add.cli
+// copyright : Copyright (c) 2014-2016 Code Synthesis Ltd
+// license : MIT; see accompanying LICENSE file
+
+include <bpkg/configuration.cli>;
+
+"\section=1"
+"\name=bpkg-cfg-add"
+"\summary=add repository to configuration"
+
+/*
+"\h{SYNOPSIS}
+
+bpkg cfg-add [<options>] <rep>"
+
+"\h{DESCRIPTION}
+
+The \cb{cfg-add} command adds the specified source repository to the
+configuration. Note that this command doesn't fetch the available
+packages list for the newly added repository. To do that, use the
+\cb{cfg-fetch} command.
+"
+*/
+
+namespace bpkg
+{
+ class cfg_add_options: configuration_options
+ {
+ };
+}