rougail-output-doc/tests/docs/examples/01_6number_multi.md

805 B

Table of Contents

dictionaries/rougail/00-base.yml

---
version: '1.1'
var1:  # the first variable
  - 0
var2:
  description: the second variable
  default:
    - 0
var3:
  description: the third variable
  type: number
  default:
    - 0
var4:  # the forth variable
  - 10
var5:
  description: the fifth variable
  default:
    - 10
var6:
  description: the sixth variable
  type: number
  default:
    - 10

var7:
  description: the seventh variable
  multi: true
  default:
    - 0
var8:
  description: the eighth variable
  type: number
  multi: true
  default:
    - 0

Example with all variables modifiable

---
rougail:
  var1:
    - 0
  var2:
    - 0
  var3:
    - 0
  var4:
    - 10
  var5:
    - 10
  var6:
    - 10
  var7:
    - 0
  var8:
    - 0