Skip to content

Instantly share code, notes, and snippets.

View jch254's full-sized avatar
💻
Open to work, get in contact

Jordan Hornblow jch254

💻
Open to work, get in contact
View GitHub Profile
echo "Exporting environment variables from env.variables section of $1"
export $(
cat "$1" |
shyaml get-values-0 env.variables |
while IFS='' read -r -d '' key && IFS='' read -r -d '' value; do
echo $key=$value
done
)