We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
npx env-cmd -x --use-shell 'echo $FOO' doesn’t seem to be working, even with version 10.1.0 which added support for -x.
npx env-cmd -x --use-shell 'echo $FOO'
-x
Based on #93 (comment), I would have expected it to work.
The text was updated successfully, but these errors were encountered:
Even the official example in the README doesn’t work.
Create hello.js with contents:
hello.js
console.log(process.argv)
Create .env with contents:
.env
FOO=foo
Then run npx env-cmd -x node hello.js.
npx env-cmd -x node hello.js
Result:
It appears some attempt at substitution is being made, either by npm or by env-cmd.
Sorry, something went wrong.
I'm running into this as well. @yatharth you haven't found a workaround, have you?
No branches or pull requests
npx env-cmd -x --use-shell 'echo $FOO'
doesn’t seem to be working, even with version 10.1.0 which added support for-x
.Based on #93 (comment), I would have expected it to work.
The text was updated successfully, but these errors were encountered: