summaryrefslogtreecommitdiffstats
path: root/src/lib/config/tests/testdata/spec29.spec
blob: c7ae5f82a87742887844c5b91ec323ab7171801a (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
{
  "module_spec": {
    "module_name": "Spec29",
    "config_data": [
      { "item_name": "item1",
        "item_type": "integer",
        "item_optional": false,
        "item_default": 1
      }
    ],
    "commands": [
      {
        "command_name": "good_command",
        "command_description": "A good command",
        "command_args": []
      },
      {
        "command_name": "bad_command",
        "command_description": "A bad command",
        "command_args": []
      },
      {
        "command_name": "command_with_arg",
        "command_description": "A command with an (integer) argument",
        "command_args": [ {
          "item_name": "number",
          "item_type": "integer",
          "item_optional": true,
          "item_default": 1
        } ]
      }
    ]
  }
}