fix: tests for formatter
This commit is contained in:
parent
53e1261812
commit
17b589c268
28 changed files with 554 additions and 0 deletions
24
tests/results/test/20_2family_looks_like_dynamic.adoc
Normal file
24
tests/results/test/20_2family_looks_like_dynamic.adoc
Normal file
|
|
@ -0,0 +1,24 @@
|
||||||
|
== my_family
|
||||||
|
|
||||||
|
`standard`
|
||||||
|
|
||||||
|
[cols="1a,1a"]
|
||||||
|
|====
|
||||||
|
| Variable | Description
|
||||||
|
|
|
||||||
|
|
||||||
|
**my_family.dynamic** +
|
||||||
|
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` `mandatory` `unique` `multiple` |
|
||||||
|
Dynamic. +
|
||||||
|
**Default**:
|
||||||
|
|
||||||
|
* val1
|
||||||
|
* val2
|
||||||
|
|
|
||||||
|
|
||||||
|
**my_family.var** +
|
||||||
|
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[boolean]` `standard` `mandatory` |
|
||||||
|
A variable. +
|
||||||
|
**Default**: true
|
||||||
|
|====
|
||||||
|
|
||||||
89
tests/results/test/20_2family_looks_like_dynamic.json
Normal file
89
tests/results/test/20_2family_looks_like_dynamic.json
Normal file
|
|
@ -0,0 +1,89 @@
|
||||||
|
{
|
||||||
|
"my_family": {
|
||||||
|
"type": "family",
|
||||||
|
"informations": {
|
||||||
|
"paths": [
|
||||||
|
"my_family"
|
||||||
|
],
|
||||||
|
"names": [
|
||||||
|
"my_family"
|
||||||
|
],
|
||||||
|
"properties": [
|
||||||
|
{
|
||||||
|
"type": "mode",
|
||||||
|
"name": "standard"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"children": {
|
||||||
|
"my_family.dynamic": {
|
||||||
|
"type": "variable",
|
||||||
|
"default": {
|
||||||
|
"name": "Default",
|
||||||
|
"values": [
|
||||||
|
"val1",
|
||||||
|
"val2"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"properties": [
|
||||||
|
{
|
||||||
|
"type": "type",
|
||||||
|
"name": "string"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "mode",
|
||||||
|
"name": "standard"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "property",
|
||||||
|
"name": "mandatory"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "property",
|
||||||
|
"name": "unique"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "multiple",
|
||||||
|
"name": "multiple"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"paths": [
|
||||||
|
"my_family.dynamic"
|
||||||
|
],
|
||||||
|
"names": [
|
||||||
|
"dynamic"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"my_family.var": {
|
||||||
|
"type": "variable",
|
||||||
|
"default": {
|
||||||
|
"name": "Default",
|
||||||
|
"values": true
|
||||||
|
},
|
||||||
|
"properties": [
|
||||||
|
{
|
||||||
|
"type": "type",
|
||||||
|
"name": "boolean"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "mode",
|
||||||
|
"name": "standard"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "property",
|
||||||
|
"name": "mandatory"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"paths": [
|
||||||
|
"my_family.var"
|
||||||
|
],
|
||||||
|
"names": [
|
||||||
|
"var"
|
||||||
|
],
|
||||||
|
"descriptions": [
|
||||||
|
"A variable."
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
9
tests/results/test/20_2family_looks_like_dynamic.md
Normal file
9
tests/results/test/20_2family_looks_like_dynamic.md
Normal file
|
|
@ -0,0 +1,9 @@
|
||||||
|
# my_family
|
||||||
|
|
||||||
|
`standard`
|
||||||
|
|
||||||
|
| Variable | Description |
|
||||||
|
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||||
|
| **my_family.dynamic**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` `unique` `multiple` | Dynamic.<br/>**Default**: <br/>- val1<br/>- val2 |
|
||||||
|
| **my_family.var**<br/>[`boolean`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | A variable.<br/>**Default**: true |
|
||||||
|
|
||||||
19
tests/results/test/20_2family_looks_like_dynamic.sh
Normal file
19
tests/results/test/20_2family_looks_like_dynamic.sh
Normal file
|
|
@ -0,0 +1,19 @@
|
||||||
|
|
||||||
|
|
||||||
|
[1;4;96mmy_family[0m
|
||||||
|
|
||||||
|
|
||||||
|
[1;7m standard [0m
|
||||||
|
|
||||||
|
|
||||||
|
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||||
|
┃[1m [0m[1mVariable [0m[1m [0m┃[1m [0m[1mDescription [0m[1m [0m┃
|
||||||
|
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
|
||||||
|
│ [1mmy_family.dynamic[0m │ Dynamic. │
|
||||||
|
│ [1;7m string [0m [1;7m standard [0m [1;7m mandatory [0m [1;7m [0m │ [1mDefault[0m: │
|
||||||
|
│ [1;7munique [0m [1;7m multiple [0m │ - val1 │
|
||||||
|
│ │ - val2 │
|
||||||
|
├───────────────────────────────────────┼──────────────────────────────────────┤
|
||||||
|
│ [1mmy_family.var[0m │ A variable. │
|
||||||
|
│ [1;7m boolean [0m [1;7m standard [0m [1;7m mandatory [0m │ [1mDefault[0m: true │
|
||||||
|
└───────────────────────────────────────┴──────────────────────────────────────┘
|
||||||
15
tests/results/test/20_2family_looks_like_variable.adoc
Normal file
15
tests/results/test/20_2family_looks_like_variable.adoc
Normal file
|
|
@ -0,0 +1,15 @@
|
||||||
|
== my_family
|
||||||
|
|
||||||
|
`standard`
|
||||||
|
|
||||||
|
[cols="1a,1a"]
|
||||||
|
|====
|
||||||
|
| Variable | Description
|
||||||
|
|
|
||||||
|
|
||||||
|
**my_family.default** +
|
||||||
|
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[boolean]` `standard` `mandatory` |
|
||||||
|
Default. +
|
||||||
|
**Default**: true
|
||||||
|
|====
|
||||||
|
|
||||||
48
tests/results/test/20_2family_looks_like_variable.json
Normal file
48
tests/results/test/20_2family_looks_like_variable.json
Normal file
|
|
@ -0,0 +1,48 @@
|
||||||
|
{
|
||||||
|
"my_family": {
|
||||||
|
"type": "family",
|
||||||
|
"informations": {
|
||||||
|
"paths": [
|
||||||
|
"my_family"
|
||||||
|
],
|
||||||
|
"names": [
|
||||||
|
"my_family"
|
||||||
|
],
|
||||||
|
"properties": [
|
||||||
|
{
|
||||||
|
"type": "mode",
|
||||||
|
"name": "standard"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"children": {
|
||||||
|
"my_family.default": {
|
||||||
|
"type": "variable",
|
||||||
|
"default": {
|
||||||
|
"name": "Default",
|
||||||
|
"values": true
|
||||||
|
},
|
||||||
|
"properties": [
|
||||||
|
{
|
||||||
|
"type": "type",
|
||||||
|
"name": "boolean"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "mode",
|
||||||
|
"name": "standard"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "property",
|
||||||
|
"name": "mandatory"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"paths": [
|
||||||
|
"my_family.default"
|
||||||
|
],
|
||||||
|
"names": [
|
||||||
|
"default"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
8
tests/results/test/20_2family_looks_like_variable.md
Normal file
8
tests/results/test/20_2family_looks_like_variable.md
Normal file
|
|
@ -0,0 +1,8 @@
|
||||||
|
# my_family
|
||||||
|
|
||||||
|
`standard`
|
||||||
|
|
||||||
|
| Variable | Description |
|
||||||
|
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||||
|
| **my_family.default**<br/>[`boolean`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | Default.<br/>**Default**: true |
|
||||||
|
|
||||||
14
tests/results/test/20_2family_looks_like_variable.sh
Normal file
14
tests/results/test/20_2family_looks_like_variable.sh
Normal file
|
|
@ -0,0 +1,14 @@
|
||||||
|
|
||||||
|
|
||||||
|
[1;4;96mmy_family[0m
|
||||||
|
|
||||||
|
|
||||||
|
[1;7m standard [0m
|
||||||
|
|
||||||
|
|
||||||
|
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||||
|
┃[1m [0m[1mVariable [0m[1m [0m┃[1m [0m[1mDescription [0m[1m [0m┃
|
||||||
|
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
|
||||||
|
│ [1mmy_family.default[0m │ Default. │
|
||||||
|
│ [1;7m boolean [0m [1;7m standard [0m [1;7m mandatory [0m │ [1mDefault[0m: true │
|
||||||
|
└───────────────────────────────────────┴──────────────────────────────────────┘
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
["No attribute \"description\" for \"my_family.dynamic\" in \"../../rougail-tests/structures/20_2family_looks_like_dynamic/rougail/00-base.yml\"", "No attribute \"description\" for \"my_family\" in \"../../rougail-tests/structures/20_2family_looks_like_dynamic/rougail/00-base.yml\""]
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
["No attribute \"description\" for \"my_family.default\" in \"../../rougail-tests/structures/20_2family_looks_like_variable/rougail/00-base.yml\"", "No attribute \"description\" for \"my_family\" in \"../../rougail-tests/structures/20_2family_looks_like_variable/rougail/00-base.yml\""]
|
||||||
10
tests/results/test_examples/20_2family_looks_like_dynamic.md
Normal file
10
tests/results/test_examples/20_2family_looks_like_dynamic.md
Normal file
|
|
@ -0,0 +1,10 @@
|
||||||
|
# Example with all variables modifiable
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
---
|
||||||
|
my_family:
|
||||||
|
dynamic:
|
||||||
|
- val1
|
||||||
|
- val2
|
||||||
|
var: true
|
||||||
|
```
|
||||||
|
|
@ -0,0 +1,7 @@
|
||||||
|
# Example with all variables modifiable
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
---
|
||||||
|
my_family:
|
||||||
|
default: true
|
||||||
|
```
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
["No attribute \"description\" for \"my_family.dynamic\" in \"../../rougail-tests/structures/20_2family_looks_like_dynamic/rougail/00-base.yml\"", "No attribute \"description\" for \"my_family\" in \"../../rougail-tests/structures/20_2family_looks_like_dynamic/rougail/00-base.yml\""]
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
["No attribute \"description\" for \"my_family.default\" in \"../../rougail-tests/structures/20_2family_looks_like_variable/rougail/00-base.yml\"", "No attribute \"description\" for \"my_family\" in \"../../rougail-tests/structures/20_2family_looks_like_variable/rougail/00-base.yml\""]
|
||||||
|
|
@ -0,0 +1,26 @@
|
||||||
|
== Variables for "Rougail"
|
||||||
|
|
||||||
|
=== rougail.my_family
|
||||||
|
|
||||||
|
`standard`
|
||||||
|
|
||||||
|
[cols="1a,1a"]
|
||||||
|
|====
|
||||||
|
| Variable | Description
|
||||||
|
|
|
||||||
|
|
||||||
|
**rougail.my_family.dynamic** +
|
||||||
|
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` `mandatory` `unique` `multiple` |
|
||||||
|
Dynamic. +
|
||||||
|
**Default**:
|
||||||
|
|
||||||
|
* val1
|
||||||
|
* val2
|
||||||
|
|
|
||||||
|
|
||||||
|
**rougail.my_family.var** +
|
||||||
|
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[boolean]` `standard` `mandatory` |
|
||||||
|
A variable. +
|
||||||
|
**Default**: true
|
||||||
|
|====
|
||||||
|
|
||||||
109
tests/results/test_namespace/20_2family_looks_like_dynamic.json
Normal file
109
tests/results/test_namespace/20_2family_looks_like_dynamic.json
Normal file
|
|
@ -0,0 +1,109 @@
|
||||||
|
{
|
||||||
|
"rougail": {
|
||||||
|
"type": "namespace",
|
||||||
|
"informations": {
|
||||||
|
"paths": [
|
||||||
|
"rougail"
|
||||||
|
],
|
||||||
|
"names": [
|
||||||
|
"rougail"
|
||||||
|
],
|
||||||
|
"description": "Rougail",
|
||||||
|
"properties": [
|
||||||
|
{
|
||||||
|
"type": "mode",
|
||||||
|
"name": "standard"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"children": {
|
||||||
|
"my_family": {
|
||||||
|
"type": "family",
|
||||||
|
"informations": {
|
||||||
|
"paths": [
|
||||||
|
"rougail.my_family"
|
||||||
|
],
|
||||||
|
"names": [
|
||||||
|
"my_family"
|
||||||
|
],
|
||||||
|
"properties": [
|
||||||
|
{
|
||||||
|
"type": "mode",
|
||||||
|
"name": "standard"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"children": {
|
||||||
|
"rougail.my_family.dynamic": {
|
||||||
|
"type": "variable",
|
||||||
|
"default": {
|
||||||
|
"name": "Default",
|
||||||
|
"values": [
|
||||||
|
"val1",
|
||||||
|
"val2"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"properties": [
|
||||||
|
{
|
||||||
|
"type": "type",
|
||||||
|
"name": "string"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "mode",
|
||||||
|
"name": "standard"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "property",
|
||||||
|
"name": "mandatory"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "property",
|
||||||
|
"name": "unique"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "multiple",
|
||||||
|
"name": "multiple"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"paths": [
|
||||||
|
"rougail.my_family.dynamic"
|
||||||
|
],
|
||||||
|
"names": [
|
||||||
|
"dynamic"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"rougail.my_family.var": {
|
||||||
|
"type": "variable",
|
||||||
|
"default": {
|
||||||
|
"name": "Default",
|
||||||
|
"values": true
|
||||||
|
},
|
||||||
|
"properties": [
|
||||||
|
{
|
||||||
|
"type": "type",
|
||||||
|
"name": "boolean"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "mode",
|
||||||
|
"name": "standard"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "property",
|
||||||
|
"name": "mandatory"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"paths": [
|
||||||
|
"rougail.my_family.var"
|
||||||
|
],
|
||||||
|
"names": [
|
||||||
|
"var"
|
||||||
|
],
|
||||||
|
"descriptions": [
|
||||||
|
"A variable."
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,11 @@
|
||||||
|
# Variables for "Rougail"
|
||||||
|
|
||||||
|
## rougail.my_family
|
||||||
|
|
||||||
|
`standard`
|
||||||
|
|
||||||
|
| Variable | Description |
|
||||||
|
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||||
|
| **rougail.my_family.dynamic**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` `unique` `multiple` | Dynamic.<br/>**Default**: <br/>- val1<br/>- val2 |
|
||||||
|
| **rougail.my_family.var**<br/>[`boolean`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | A variable.<br/>**Default**: true |
|
||||||
|
|
||||||
|
|
@ -0,0 +1,24 @@
|
||||||
|
|
||||||
|
|
||||||
|
[1;4;96mVariables for [0m[1;4;96m"Rougail"[0m
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
[1;4;92mrougail.my_family[0m
|
||||||
|
|
||||||
|
|
||||||
|
[1;7m standard [0m
|
||||||
|
|
||||||
|
|
||||||
|
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||||
|
┃[1m [0m[1mVariable [0m[1m [0m┃[1m [0m[1mDescription [0m[1m [0m┃
|
||||||
|
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
|
||||||
|
│ [1mrougail.my_family.dynamic[0m │ Dynamic. │
|
||||||
|
│ [1;7m string [0m [1;7m standard [0m [1;7m mandatory [0m [1;7m [0m │ [1mDefault[0m: │
|
||||||
|
│ [1;7munique [0m [1;7m multiple [0m │ - val1 │
|
||||||
|
│ │ - val2 │
|
||||||
|
├───────────────────────────────────────┼──────────────────────────────────────┤
|
||||||
|
│ [1mrougail.my_family.var[0m │ A variable. │
|
||||||
|
│ [1;7m boolean [0m [1;7m standard [0m [1;7m mandatory [0m │ [1mDefault[0m: true │
|
||||||
|
└───────────────────────────────────────┴──────────────────────────────────────┘
|
||||||
|
|
@ -0,0 +1,17 @@
|
||||||
|
== Variables for "Rougail"
|
||||||
|
|
||||||
|
=== rougail.my_family
|
||||||
|
|
||||||
|
`standard`
|
||||||
|
|
||||||
|
[cols="1a,1a"]
|
||||||
|
|====
|
||||||
|
| Variable | Description
|
||||||
|
|
|
||||||
|
|
||||||
|
**rougail.my_family.default** +
|
||||||
|
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[boolean]` `standard` `mandatory` |
|
||||||
|
Default. +
|
||||||
|
**Default**: true
|
||||||
|
|====
|
||||||
|
|
||||||
|
|
@ -0,0 +1,68 @@
|
||||||
|
{
|
||||||
|
"rougail": {
|
||||||
|
"type": "namespace",
|
||||||
|
"informations": {
|
||||||
|
"paths": [
|
||||||
|
"rougail"
|
||||||
|
],
|
||||||
|
"names": [
|
||||||
|
"rougail"
|
||||||
|
],
|
||||||
|
"description": "Rougail",
|
||||||
|
"properties": [
|
||||||
|
{
|
||||||
|
"type": "mode",
|
||||||
|
"name": "standard"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"children": {
|
||||||
|
"my_family": {
|
||||||
|
"type": "family",
|
||||||
|
"informations": {
|
||||||
|
"paths": [
|
||||||
|
"rougail.my_family"
|
||||||
|
],
|
||||||
|
"names": [
|
||||||
|
"my_family"
|
||||||
|
],
|
||||||
|
"properties": [
|
||||||
|
{
|
||||||
|
"type": "mode",
|
||||||
|
"name": "standard"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"children": {
|
||||||
|
"rougail.my_family.default": {
|
||||||
|
"type": "variable",
|
||||||
|
"default": {
|
||||||
|
"name": "Default",
|
||||||
|
"values": true
|
||||||
|
},
|
||||||
|
"properties": [
|
||||||
|
{
|
||||||
|
"type": "type",
|
||||||
|
"name": "boolean"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "mode",
|
||||||
|
"name": "standard"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "property",
|
||||||
|
"name": "mandatory"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"paths": [
|
||||||
|
"rougail.my_family.default"
|
||||||
|
],
|
||||||
|
"names": [
|
||||||
|
"default"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,10 @@
|
||||||
|
# Variables for "Rougail"
|
||||||
|
|
||||||
|
## rougail.my_family
|
||||||
|
|
||||||
|
`standard`
|
||||||
|
|
||||||
|
| Variable | Description |
|
||||||
|
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||||
|
| **rougail.my_family.default**<br/>[`boolean`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | Default.<br/>**Default**: true |
|
||||||
|
|
||||||
|
|
@ -0,0 +1,19 @@
|
||||||
|
|
||||||
|
|
||||||
|
[1;4;96mVariables for [0m[1;4;96m"Rougail"[0m
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
[1;4;92mrougail.my_family[0m
|
||||||
|
|
||||||
|
|
||||||
|
[1;7m standard [0m
|
||||||
|
|
||||||
|
|
||||||
|
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||||
|
┃[1m [0m[1mVariable [0m[1m [0m┃[1m [0m[1mDescription [0m[1m [0m┃
|
||||||
|
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
|
||||||
|
│ [1mrougail.my_family.default[0m │ Default. │
|
||||||
|
│ [1;7m boolean [0m [1;7m standard [0m [1;7m mandatory [0m │ [1mDefault[0m: true │
|
||||||
|
└───────────────────────────────────────┴──────────────────────────────────────┘
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
["No attribute \"description\" for \"rougail.my_family.dynamic\" in \"../../rougail-tests/structures/20_2family_looks_like_dynamic/rougail/00-base.yml\"", "No attribute \"description\" for \"rougail.my_family\" in \"../../rougail-tests/structures/20_2family_looks_like_dynamic/rougail/00-base.yml\""]
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
["No attribute \"description\" for \"rougail.my_family.default\" in \"../../rougail-tests/structures/20_2family_looks_like_variable/rougail/00-base.yml\"", "No attribute \"description\" for \"rougail.my_family\" in \"../../rougail-tests/structures/20_2family_looks_like_variable/rougail/00-base.yml\""]
|
||||||
|
|
@ -0,0 +1,11 @@
|
||||||
|
# Example with all variables modifiable
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
---
|
||||||
|
rougail:
|
||||||
|
my_family:
|
||||||
|
dynamic:
|
||||||
|
- val1
|
||||||
|
- val2
|
||||||
|
var: true
|
||||||
|
```
|
||||||
|
|
@ -0,0 +1,8 @@
|
||||||
|
# Example with all variables modifiable
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
---
|
||||||
|
rougail:
|
||||||
|
my_family:
|
||||||
|
default: true
|
||||||
|
```
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
["No attribute \"description\" for \"rougail.my_family.dynamic\" in \"../../rougail-tests/structures/20_2family_looks_like_dynamic/rougail/00-base.yml\"", "No attribute \"description\" for \"rougail.my_family\" in \"../../rougail-tests/structures/20_2family_looks_like_dynamic/rougail/00-base.yml\""]
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
["No attribute \"description\" for \"rougail.my_family.default\" in \"../../rougail-tests/structures/20_2family_looks_like_variable/rougail/00-base.yml\"", "No attribute \"description\" for \"rougail.my_family\" in \"../../rougail-tests/structures/20_2family_looks_like_variable/rougail/00-base.yml\""]
|
||||||
Loading…
Reference in a new issue