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

410 B

Table of Contents

dictionaries/rougail/00-base.yml

---
version: 1.1
my_variable:
  multi: true
  default:
    - val1
    - val2
my_calculated_variable:
  multi: true
  default:
    variable: _.my_variable
    optional: true

Example with all variables modifiable

---
rougail:
  my_variable:
    - val1
    - val2
  my_calculated_variable:
    - val1
    - val2