You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi guys, as titled does anyone have a good example on how to use the dotenv-load feature? I couldn't quite find the documentation around it. Does it load the file into env variables and the just file can use or does it load it into justfile variables.
I have the following .env
env=TEST
When I try to access it in the just file
set dotenv-load := true
set dotenv-path := ".env" -> redundant
test-env:
@echo "ENV is $ENV" -> does not work, variable is unbounded
test-variable:
@echo "ENV is {{ENV}}" -> does not work, variable is not defined
I'm wondering where are the env variables loaded and how can I access them inside the just file?
Thank you
The text was updated successfully, but these errors were encountered:
Hi guys, as titled does anyone have a good example on how to use the
dotenv-load
feature? I couldn't quite find the documentation around it. Does it load the file into env variables and the just file can use or does it load it into justfile variables.I have the following
.env
When I try to access it in the just file
I'm wondering where are the env variables loaded and how can I access them inside the just file?
Thank you
The text was updated successfully, but these errors were encountered: