Run any arbitrary command with a .env
file.
with-env
eliminates the need to load environment variables from a file within your program, eliminating calls that are redundant to production, and separating environment management from the code itself.
with-env <command>
Requires a .env
file in your current working directory.
with-env -f <env-file> <command>
# .env
FOO='bar'
$ with-env printenv FOO
bar