Skip to content

heat-tools/envshuffle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

envshuffle

Sets environment variables based on the contents of other environment variables.

This is sometimes useful when using parameterized builds with CircleCI, as environment variables set in the repo build configuration cannot be overriden by variables passed into a parameterized build request.

Install

pip install git+https://github.com/JasonBoyles/envshuffle

Usage

~:jgb $ OVERRIDE_FOO=fighters OVERRIDE_HOME=sweethome envshuffle bash -c 'echo FOO is ${FOO}, HOME is ${HOME}'
overriding var HOME
overriding var FOO
FOO is fighters, HOME is sweethome
~:jgb $

About

override environment variables with the content of other environment variables--it's useful, I promise!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages