herrjulz / aviator

Merge YAML/JSON files in a in a convenient fashion based on a configuration file called aviator.yml
MIT License
60 stars 7 forks source link

no need to quote special variables, while this should be done in each… #17

Closed qu1queee closed 6 years ago

qu1queee commented 7 years ago

… aviator YAML file, to be YAML compliant

Hi, We required that each aviator YAML file to be pure YAML, having the following key definitions for some scenarios:

{{key}}

break parsing the .yml file. The aviator logic should avoid quotting this special keys in its logic, and the quoting should happen in each .yml file, e.g.:

"{{key}}"

In this way, every *.yml aviator file its compliant with the YAML structure.

Regards, Enrique Encalada

herrjulz commented 6 years ago

As the {{}} breaks the YAML syntax it needs to be quoted. To have the possibility to provide valid YAML files I added a second syntax ++KEY++.