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

include <bdep/common.cli>;

"\section=1"
"\name=bdep-config"
"\summary=manage project build configurations"

namespace bdep
{
  {
    "<options>
     <cfg-spec> <cfg-name> <cfg-dir>
     <prj-spec> <prj-dir>
     <cfg-args> <cfg-var> <module>",

    "\h|SYNOPSIS|

     \c{\b{bdep config add} \ \ \ [<options>] [<prj-spec>] [\b{@}<cfg-name>] <cfg-dir>\n
        \b{bdep config create} [<options>] [<prj-spec>] [\b{@}<cfg-name>] <cfg-dir> [<cfg-args>]\n
        \b{bdep config remove} [<options>] [<prj-spec>] <cfg-spec>}

     \c{<prj-spec> = \b{--directory}|\b{-d} <prj-dir>\n
        <cfg-args> = (<module> | <cfg-var>)...\n
        <cfg-spec> = (\b{@}<cfg-name> | \b{--config}|\b{-c} <cfg-dir>)... | \b{--all}|\b{-a}}

     \h|DESCRIPTION|

     The \cb{config} command..."
  }

  class config_options: common_options
  {
    "\h|CONFIG OPTIONS|"

    bool --default|-d
    {
      //@@ Need to explain what it means.
      "Make the added or created configuration default."
    }
  };
}