Accessing .Env when using —context argument #1897
-
Is it possible to access the For example:
With the above setup, I am getting the following error:
|
Beta Was this translation helpful? Give feedback.
Answered by
hairyhenderson
Nov 7, 2023
Replies: 1 comment 1 reply
-
No, because using However, instead of using |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
hairyhenderson
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
No, because using
.
as the context name overrides the root context.However, instead of using
.Env
you can useenv.Getenv
to (mostly) the same effect.