Orninject is a tool that helps to easily replace environment variables in file. The project is based on three philosophies KISS, DRY and YAGNI.
Orninject is available on Linux, OSX and Windows platforms.
-
Binaries for Mac OS, Linux and Windows are available as tarballs in the release page.
-
Via Homebrew (Mac OS) or LinuxBrew (Linux)
brew tap ornikar/orninject brew install orninject
-
Building from source orninject was built using go 1.13 or above. In order to build orninject from source you must:
-
Clone this repository
-
Add the following command in your go.mod file
replace ( github.com/ornikar/orninject => CLONED_GIT_REPOSITORY )
-
Build the executable
go build .
-
Use it
./orninject
-