Skip to main content

Export environment variable from YAML file

Project description

export_yaml

export_yaml is a python scripts to read yaml file and convert it to bash file to be sourced later

Installation

pip install export-yaml

How to use

export YAML_FILE=path_to_yaml
source $(export_yaml)

YAML File configuration

---
env:
  HELLO: "world"

Note: export_yaml is going only to read everything under env

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for export-yaml, version 0.0.2
Filename, size File type Python version Upload date Hashes
Filename, size export_yaml-0.0.2-py3-none-any.whl (2.9 kB) File type Wheel Python version py3 Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page