mirror of
https://github.com/denoland/deno.git
synced 2024-12-25 16:49:18 -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"));
|