hivemind icon indicating copy to clipboard operation
hivemind copied to clipboard

Option to skip reading .env?

Open evandam opened this issue 2 years ago • 3 comments

Hi folks,

Would it be possible to add a flag that skips reading a local .env file? It seems to get loaded no matter what, which isn't always desired.

It would also be good to avoid setting things like $PORT too

Example:

Procfile

test: sh -c 'echo FOO is $FOO'

.env

FOO=BAR
❯ hivemind -l test
test | Running...
test | FOO is bar
test | Process exited

evandam avatar Dec 15 '21 18:12 evandam

@DarthSim any thoughts on this? Thanks!

evandam avatar Jan 12 '22 22:01 evandam

Same request here, some folks use dotenv for example where a more complex approach around env files is needed.

It would be awesome 👏

scalp42 avatar Jan 12 '22 23:01 scalp42

@DarthSim any chance? 😅

scalp42 avatar Mar 26 '22 18:03 scalp42