Skip to content

Helper script to convert Spring YAML configuration files into their environment variable representation as defined by the Spring Relaxed Binding

License

Notifications You must be signed in to change notification settings

b-fein/spring-yaml-to-env

Repository files navigation

README

Helper script to convert Spring YAML configuration files into their environment variable representation as defined by the Spring Relaxed Binding.

Initially created for the Artemis interactive learning system.

Usage

Python 3.8 or newer is required.

python ./spring_yaml_to_env/spring_yaml_to_env.py --help

usage: spring_yaml_to_env.py [-h] [-s] [yaml_files ...]

Converts a list of Spring configuration YAML files into a combined list of
environment variable mappings.

The conversions of all files are combined and printed on the standard output in
the format as required by .env-Files, i.e, one 'KEY=VALUE' entry per line.

positional arguments:
  yaml_files  YAML files that should be converted

options:
  -h, --help  show this help message and exit
  -s, --sort  sort config options lexicographically

License

Licensed under the EUPL-1.2-or-later.

About

Helper script to convert Spring YAML configuration files into their environment variable representation as defined by the Spring Relaxed Binding

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published