adobe / himl

A hierarchical yaml config in Python

Home Page:https://pypi.org/project/himl/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Retrieve values from environment variables

aslafy-z opened this issue · comments

Expected Behaviour

test: 1
home_path: "{{env(HOME)}}"

=>

test: 1
home_path: /home/zadkiel

Actual Behaviour

test: 1
home_path: "{{env(HOME)}}"

=>

test: 1

Details

Retrieving values from the environment would be a great addition.
Currently it can be done with YQ after the values compilation but it does not support the hierarchical overrides that himl allows.