Bake Syntax Specification

YAML Syntax

To write a bake script, you use the YAML language. YAML is a very simple language, that allows you to be very expressive. Here are the basics of YAML that you need to understand Bake

Key-value pairs

color: blue

Child properties

You can define child/sub properties

car:
   wheels: 4
   color: blue
   roof: yes

Lists

You can define lists:

cars:
  - Volvo
  - Volkwagen
  - Chrysler
  - Ford
  - Mazda

And each item an a list, can be either a value, or just another YAML document, so it can have it's own properties and sub-properties:

cars:
  - car: Volvo
    color: green

  - car: Volkwagen
    color: blue
    wheels: 4

There is more to YAML, but this is enough to get you started with Bake. For more information there is more than enough on the internet.