Skip to content
This repository has been archived by the owner on Jun 29, 2020. It is now read-only.
/ orninject Public archive

πŸ’‰ Orninject – Helps to easily replace environment variables in file

License

Notifications You must be signed in to change notification settings

ornikar/orninject

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

6 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ’‰ Orninject – Helps to easily replace environment variables in file

CircleCI Go Report Card Codebeat badge GoDoc GitHub tag Go version

Orninject is a tool that helps to easily replace environment variables in file. The project is based on three philosophies KISS, DRY and YAGNI.


Demo

asciicast


Installation

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:

    1. Clone this repository

    2. Add the following command in your go.mod file

      replace (
        github.com/ornikar/orninject => CLONED_GIT_REPOSITORY
      )
      
    3. Build the executable

      go build .
    4. Use it

      ./orninject