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

29 lines
503 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'
source_variable_1: val1 # the first source variable
source_variable_2: val2 # the second source variable
my_variable:
description: a variable
type: choice
choices:
- variable: _.source_variable_1
- variable: _.source_variable_2
default: val1
```
# Example with all variables modifiable
```yaml
---
rougail:
source_variable_1: val1
source_variable_2: val2
my_variable: val1
```