mirror of
https://github.com/denoland/deno.git
synced 2024-11-23 15:16:54 -05:00
f8f4e77632
This change adds the `--env=[FILE]` flag to the `run`, `compile`, `eval`, `install` and `repl` subcommands. Environment variables set in the CLI overwrite those defined in the `.env` file.
3 lines
116 B
TypeScript
3 lines
116 B
TypeScript
console.log(Deno.env.get("FOO"));
|
|
console.log(Deno.env.get("ANOTHER_FOO"));
|
|
console.log(Deno.env.get("MULTILINE"));
|