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.

Built Distribution

export_yaml-0.0.1-py3-none-any.whl (2.9 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page