Render

Saving the following file as “./example.yaml”:

variable:
  sub_variable:
    again:
      sub_key: sub_value

my_value: "$variable.sub_variable.again"

You can now render the file by using the funcml-cli commands:

As YAML in the stdout

funcml-cli render-all --directory . -x yaml --mutations ./example.yaml

As JSON in the stdout

funcml-cli render-all -x yaml -m ./example.yaml --output-format json

As JSON saved in a directory

funcml-cli render-all -x yaml -m ./example.yaml --no-output-stdout --output-directory ./output