diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2018-02-22 13:45:16 +0200 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2018-02-26 17:49:52 +0300 |
commit | 12a5375f25d6a7be5a5741c728a8f9b8168761a4 (patch) | |
tree | 43e1832a9c1e709037f6005276f01ef44f2552bc /bpkg/rep-remove.cli | |
parent | f619db022734dff6b988c514e3a292a5c7babaf0 (diff) |
Document new rep-list and rep-remove, update rep-add and rep-fetch
Diffstat (limited to 'bpkg/rep-remove.cli')
-rw-r--r-- | bpkg/rep-remove.cli | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/bpkg/rep-remove.cli b/bpkg/rep-remove.cli new file mode 100644 index 0000000..3662b2b --- /dev/null +++ b/bpkg/rep-remove.cli @@ -0,0 +1,44 @@ +// file : bpkg/rep-remove.cli +// copyright : Copyright (c) 2014-2017 Code Synthesis Ltd +// license : MIT; see accompanying LICENSE file + +include <libbpkg/manifest.hxx>; + +include <bpkg/configuration.cli>; + +"\section=1" +"\name=bpkg-rep-remove" +"\summary=remove repository from configuration" + +namespace bpkg +{ + { + "<options> <name> <location>", + + "\h|SYNOPSIS| + + \c{\b{bpkg rep-remove}|\b{remove} [<options>] (<name>|<location>)... | + (--all|-a)} + + \h|DESCRIPTION| + + The \cb{rep-remove} command removes the specified package repositories + from the configuration. The repository to remove can be specified either + as a repository name or as a repository location (URL or a directory + path). + + Alternatively, the \cb{--all|-a} option can be used to remove all the + repositories that were previously added (\l{bpkg-rep-add(1)}) to the + configuration." + } + + class rep_remove_options: configuration_options + { + "\h|REP-REMOVE OPTIONS|" + + bool --all|-a + { + "Remove all the repositories." + } + }; +} |