Skip to content

Instantly share code, notes, and snippets.

View rvelseg's full-sized avatar

Roberto Velasco Segura rvelseg

View GitHub Profile
@rvelseg
rvelseg / README.md
Last active March 31, 2020 23:31 — forked from tdickman/README.md
Parse YAML file to bash variables

Usage

eval $(python parse_yaml.py example_file.yaml)

In this example the following variables are accessible:

$key1
$key2_nested