CLI is picking up ENV variables through its env-map file:
https://github.com/dxos/cli/blob/main/packages/cli-core/src/env-map.json
The setup is working fine when the CLI is installed in a repository and run through yarn dx - example setup is working in console.
However it seems to not be working when CLI is installed globally.
Steps to reproduce:
npm install --global @dxos/cli@v2.8.1-alpha.0
npm install --global @dxos/cli-dxns@v2.8.1-alpha.0
npm install --global @dxos/cli-app@v2.8.1-alpha.0
export DX_DXNS_ENDPOINT="wss://blabla"
dx dxns resource list
Expected output
An error about not being able to connect to blabla.
Actual output
Resources listed from DXNS setup in my profile.