Just starting out with JavaScript. I understand that npm
allows for passing variables in the command line using process.env.npm_config_key
like this:
npm run --key="My Secret Passphrase" test:integration
How can I achieve the same thing with yarn
?
I'm hoping for a solution similar to this:
yarn run --key="My Secret Passphrase" test:integration