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.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page