aboutsummaryrefslogtreecommitdiff
path: root/bpkg/rep-list.cli
blob: 44241fd2bf7566271d9d7f38f05ec8fc507865b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
// file      : bpkg/rep-list.cli
// copyright : Copyright (c) 2014-2019 Code Synthesis Ltd
// license   : MIT; see accompanying LICENSE file

include <libbpkg/manifest.hxx>;

include <bpkg/configuration.cli>;

"\section=1"
"\name=bpkg-rep-list"
"\summary=list repositories in configuration"

namespace bpkg
{
  {
    "<options>",

    "\h|SYNOPSIS|

     \c{\b{bpkg rep-list}|\b{list} [<options>]}

     \h|DESCRIPTION|

     The \cb{rep-list} command lists the repositories in the configuration.

     For each repository a line containing the repository name and location is
     printed to \cb{stdout}. If the \cb{--complements|-c} and/or
     \cb{--prerequisites|-p} options are specified, then it is followed by
     the list of complement and/or prerequisite repositories, recursively."
  }

  class rep_list_options: configuration_options
  {
    "\h|REP-LIST OPTIONS|"

    bool --complements|-c
    {
      "List complement repositories."
    }

    bool --prerequisites|-p
    {
      "List prerequisite repositories."
    }
  };
}