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

5.1 KiB

Table of Contents

dictionaries/rougail/00-base.yml

---
version: '1.0'
leader:
  description: The leadership
  type: leadership
  leader:
    description: The leader
    multi: true
    mandatory: false
  follower1:
    type: choice
    description: A follower
    choices:
      - a
      - b
      - c

Variables for "rougail"

The leadership

basic

This family contains lists of variable blocks.

Variable                                                                                                Description                                                                                            
rougail.leader.leader
string standard unique multiple
The leader.
rougail.leader.follower1
choice basic mandatory
A follower.
Choices:
- a
- b
- c

Example with all variables modifiable

---
rougail:
  leader:
    - leader: example
      follower1: a_choice