Closed ianmalott closed 3 years ago
This attempts to restore the documented ability to load env vars via ~/.overmind.env. Fixes https://github.com/DarthSim/overmind/issues/98.
I don't see a precedent for testing in the repo (e.g. main_test.go), but basic local testing suggests this does the trick.
Relevant documentation for os.UserHomeDir: https://golang.org/pkg/os/#UserHomeDir
os.UserHomeDir
Thanks for your contribution!
This attempts to restore the documented ability to load env vars via ~/.overmind.env. Fixes https://github.com/DarthSim/overmind/issues/98.
I don't see a precedent for testing in the repo (e.g. main_test.go), but basic local testing suggests this does the trick.
Relevant documentation for
os.UserHomeDir
: https://golang.org/pkg/os/#UserHomeDir