Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ability to inherit an env var on the CLI #6746

Merged
merged 1 commit into from
Jul 19, 2023

Conversation

alexcrichton
Copy link
Member

In addition to Wasmtime's preexisting support for --env FOO=bar this commit additionally adds support for --env FOO which is inspired by Docker to inherit the environment variable FOO from the calling process as a shortcut for --env FOO=$FOO.

In addition to Wasmtime's preexisting support for `--env FOO=bar` this
commit additionally adds support for `--env FOO` which is inspired by
Docker to inherit the environment variable `FOO` from the calling
process as a shortcut for `--env FOO=$FOO`.
@alexcrichton alexcrichton requested a review from a team as a code owner July 18, 2023 20:42
@alexcrichton alexcrichton requested review from jameysharp and removed request for a team July 18, 2023 20:42
@sunfishcode sunfishcode added this pull request to the merge queue Jul 19, 2023
Merged via the queue into bytecodealliance:main with commit 2f6cec9 Jul 19, 2023
@alexcrichton alexcrichton deleted the bare-env-flag branch September 7, 2023 16:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants