rougail-output-doc/tests/docs/examples/00_9choice_variable_multi.md

44 lines
560 B
Markdown
Raw Normal View History

2024-11-15 08:13:45 +01:00
---
gitea: none
include_toc: true
---
# dictionaries/rougail/00-base.yml
```yaml
---
version: '1.1'
variable1:
description: a first variable
type: choice
multi: true
choices:
- val1
- val2
variable2:
description: a second variable
type: choice
multi: true
mandatory: false
choices:
- val1
- val2
```
# Example with mandatory variables not filled in
```yaml
---
rougail:
variable1:
- a_choice
```
# Example with all variables modifiable
```yaml
---
rougail:
variable1:
- a_choice
variable2:
- a_choice
```