How to get environment variables value? #532
Answered
by
c4spar
officialrajdeepsingh
asked this question in
Q&A
-
I need requirements to get the value of the deno global environment variable. The environment variable name is |
Beta Was this translation helpful? Give feedback.
Answered by
c4spar
Jan 3, 2023
Replies: 1 comment 1 reply
-
This is not related to cliffy. If If you are looking for a way how to use environment variables with cliffy you can take a look at https://cliffy.io/[email protected]/command/environment-variables. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
officialrajdeepsingh
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is not related to cliffy. If
Deno.env.get("DENO_INSTALL_ROOT")
returns undefined than the env var is not set. But if you have issues with deno you should open an issue/discussion in the deno repository.If you are looking for a way how to use environment variables with cliffy you can take a look at https://cliffy.io/[email protected]/command/environment-variables.