rougail-output-doc/tests/docs/base/01_9choice_variable_multi.md
2024-08-05 14:38:59 +02:00

5 KiB

Table of Contents

dictionaries/rougail/00-base.yml

---
version: '1.1'
variable1:  # a first variable
  - a
  - b
  - c
variable2:
  description: a second variable
  choices:
    type: variable
    variable: _.variable1

Variables for "rougail"

Variable                                                                                                Description                                                                                            
rougail.variable1
string standard mandatory unique multiple
A first variable.
Default:
- a
- b
- c
rougail.variable2
choice basic mandatory
A second variable.
Choices: the value of the variable "rougail.variable1".

Example with mandatory variables not filled in

---
rougail:
  variable2: a_choice

Example with all variables modifiable

---
rougail:
  variable1:
    - a
    - b
    - c
  variable2: a_choice