Skip to content

How to get environment variables value? #532

Discussion options

You must be logged in to vote

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.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@officialrajdeepsingh
Comment options

Answer selected by officialrajdeepsingh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants