aboutsummaryrefslogtreecommitdiff
path: root/bpkg/rep-fetch.cli
blob: ba9b879a22271f302fe618e55b4f4ce78b7fa9a8 (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
// file      : bpkg/rep-fetch.cli
// copyright : Copyright (c) 2014-2017 Code Synthesis Ltd
// license   : MIT; see accompanying LICENSE file

include <bpkg/configuration.cli>;

"\section=1"
"\name=bpkg-rep-fetch"
"\summary=fetch list of available packages"

namespace bpkg
{
  {
    "<options> <rep-name> <rep-loc>",

    "\h|SYNOPSIS|

     \c{\b{bpkg rep-fetch}|\b{fetch} [<options>] [(<rep-name> | <rep-loc>)...]}

     \h|DESCRIPTION|

     The \cb{rep-fetch} command fetches the list of available packages for the
     specified repositories as well as all their complement and prerequisite
     repositories, recursively. If no repositories were specified, then all
     the repositories previously added (\l{bpkg-rep-add(1)}) to the
     configuration are fetched.

     The repository to fetch can be specified either as a repository name or
     as a repository location (URL or a directory path; see
     \l{bpkg-rep-add(1)} for details). In the latter case, the repository
     location is added/replaced as if by first executing the \cb{rep-add}
     command."
  }

  class rep_fetch_options: configuration_options
  {
    "\h|REP-FETCH OPTIONS|"
  };
}