aboutsummaryrefslogtreecommitdiff
path: root/bpkg/rep-add.cli
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-06-18 21:28:19 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-06-18 21:28:19 +0200
commita7328a438ed26dc0d74238a575c118ca82892b5e (patch)
tree472533629a63c9884808acbd01b75560e50158e9 /bpkg/rep-add.cli
parent31421516334f8e41a04c75a1fed86b4cecd11526 (diff)
Rename cfg-{add,fetch} to rep-{add,fetch} (aliases stay same)
The rationale: we now need the 'add' command for certificates (i.e., add a trusted certificate to the configuration). In the old naming scheme we would have to call it cfg-add which is already taken. In the new scheme we will call it crt-add.
Diffstat (limited to 'bpkg/rep-add.cli')
-rw-r--r--bpkg/rep-add.cli32
1 files changed, 32 insertions, 0 deletions
diff --git a/bpkg/rep-add.cli b/bpkg/rep-add.cli
new file mode 100644
index 0000000..c1130c0
--- /dev/null
+++ b/bpkg/rep-add.cli
@@ -0,0 +1,32 @@
+// file : bpkg/rep-add.cli
+// copyright : Copyright (c) 2014-2016 Code Synthesis Ltd
+// license : MIT; see accompanying LICENSE file
+
+include <bpkg/configuration.cli>;
+
+"\section=1"
+"\name=bpkg-rep-add"
+"\summary=add repository to configuration"
+
+namespace bpkg
+{
+ {
+ "<options> <rep>",
+
+ "\h|SYNOPSIS|
+
+ \c{\b{bpkg rep-add}|\b{add} [<options>] <rep>}
+
+ \h|DESCRIPTION|
+
+ The \cb{rep-add} command adds the specified package repository to the
+ configuration. Note that it doesn't fetch the list of available packages
+ for the newly added repository. For that, use the \l{bpkg-rep-fetch(1)}
+ command, normally, after adding all the repositories you wish to use."
+ }
+
+ class rep_add_options: configuration_options
+ {
+ "\h|REP-ADD OPTIONS|"
+ };
+}