aboutsummaryrefslogtreecommitdiff
path: root/bpkg/bpkg-options.cli
blob: a9d373f92c00f640f48e8e248a10075b1126d053 (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
// 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 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."
    };
  };
}