summaryrefslogtreecommitdiff
path: root/cli/tests/testdata/env
diff options
context:
space:
mode:
authorAsher Gomez <ashersaupingomez@gmail.com>2023-11-02 02:21:13 +1100
committerGitHub <noreply@github.com>2023-11-01 15:21:13 +0000
commitf8f4e776325efe0d8dd50207beecb425f0875999 (patch)
treef8781d719f6e980fe34dcf415e607e2826692573 /cli/tests/testdata/env
parent53248e9bb3123a1b684f3f9f744bb671dfa53bc1 (diff)
feat(unstable): `deno run --env` (#20300)
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.
Diffstat (limited to 'cli/tests/testdata/env')
-rw-r--r--cli/tests/testdata/env4
1 files changed, 4 insertions, 0 deletions
diff --git a/cli/tests/testdata/env b/cli/tests/testdata/env
new file mode 100644
index 000000000..c41732d30
--- /dev/null
+++ b/cli/tests/testdata/env
@@ -0,0 +1,4 @@
+FOO=BAR
+ANOTHER_FOO=ANOTHER_${FOO}
+MULTILINE="First Line
+Second Line" \ No newline at end of file