blob: 552a8ab97184a793a22cd0356b982ce607b85508 (
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
|
// file : bpkg/bpkg-options.cli
// copyright : Copyright (c) 2014-2015 Code Synthesis Ltd
// license : MIT; see accompanying LICENSE file
include <bpkg/common-options.cli>;
namespace bpkg
{
class bpkg_options: common_options
{
bool --help;
bool --version;
};
class bpkg_commands
{
bool help
{
"[<topic>]",
"Show detailed help for a command or help topic.",
""
};
bool pkg-verify
{
"<archive>",
"Verify archive is a valid \cb{bpkg} package.",
""
};
bool pkg-fetch
{
"<pkg> <ver>",
"Fetch package archive.",
""
};
bool pkg-unpack
{
"<pkg>",
"Unpack package archive.",
""
};
bool cfg-create
{
"[<conf>]",
"Create configuration.",
""
};
bool rep-create
{
"[<dir>]",
"Create repository manifest file.",
""
};
};
// Make sure these don't conflict with command names above.
//
class bpkg_topics
{
bool options
{
"Detailed description of common options."
};
};
}
|