yaml2env

A package to convert yaml file to exportable environmental variable


License
GPL-3.0
Install
pip install yaml2env==0.0.1

Documentation

yaml2env

How to use

export $(yaml2env config.yaml)

Example format of a yaml file

---
env:

  API_PORT: 5001
  API_HOST: 127.0.0.1
  PROJECT_NAME: 'test project'
  IMAGE_BASE_URL: 'https://example.com/'