Labels
Builds
Properties

Last built 2 years ago using go version go1.4.2 linux/amd64 and 0 seconds of time

Downloads
Filename
File Size
 
envconf_master_darwin-386.zip
702KiB
envconf_master_darwin-amd64.zip
740KiB
envconf_master_dragonfly-386.zip
700KiB
envconf_master_dragonfly-amd64.zip
740KiB
envconf_master_freebsd-386.zip
703KiB
envconf_master_freebsd-amd64.zip
741KiB
envconf_master_freebsd-arm.zip
709KiB
envconf_master_linux-386.zip
705KiB
envconf_master_linux-amd64.zip
742KiB
envconf_master_linux-arm.zip
710KiB
envconf_master_netbsd-386.zip
701KiB
envconf_master_netbsd-amd64.zip
740KiB
envconf_master_netbsd-arm.zip
708KiB
envconf_master_openbsd-386.zip
701KiB
envconf_master_openbsd-amd64.zip
740KiB
envconf_master_plan9-386.zip
571KiB
envconf_master_plan9-amd64.zip
609KiB
envconf_master_solaris-amd64.zip
753KiB
envconf_master_windows-386.zip
732KiB
envconf_master_windows-amd64.zip
775KiB
Project-Readme for this version

envconf

Hi! I’m envconf. Please improve me.

Build

$ sudo docker run --cidfile=cid -v $(pwd):/go/src/app golang:1.4-onbuild \
  bash -c "go-wrapper download && go-wrapper install"

$ docker cp $(cat cid):/go/bin/app .
$ mv app envconf
$ chmod +x envconf

Just install

$ sudo curl -L -o /usr/local/bin/envconf https://github.com/webwurst/envconf/releases/download/v0.1-alpha/envconf \
  && sudo chmod +x /usr/local/bin/envconf

Use it

..like this:

$ envconf some_file.txt

Envconf reads in some_file.txt.env and replaces all environment variables. Result is written to some_file.txt.