From 221f0250fcd7cba4fa4b5e4fd6c0d410eb6e5811 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 21 Sep 2015 18:08:39 +0200 Subject: Implement rep-add command --- bpkg/rep-add-options.cli | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 bpkg/rep-add-options.cli (limited to 'bpkg/rep-add-options.cli') diff --git a/bpkg/rep-add-options.cli b/bpkg/rep-add-options.cli new file mode 100644 index 0000000..f798692 --- /dev/null +++ b/bpkg/rep-add-options.cli @@ -0,0 +1,35 @@ +// file : bpkg/rep-add-options.cli +// copyright : Copyright (c) 2014-2015 Code Synthesis Ltd +// license : MIT; see accompanying LICENSE file + +include ; + +/* +"\section=1" +"\name=bpkg-rep-add" + +"\h{SYNOPSIS} + +bpkg rep-add [] " + +"\h{DESCRIPTION} + +The \cb{rep-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{rep-fetch} command. +" +*/ + +namespace bpkg +{ + class rep_add_options: common_options + { + dir_path --directory|-d (".") + { + "", + "Assume configuration is in rather than in the current working + directory." + }; + }; +} -- cgit v1.1