6 ms·
The cons of that is that sometime I'd end up with 3 different files for different scenarios and in one particular case my tool only cared about the .env file, s
by mattrighetti 2y ago
The cons of that is that sometime I'd end up with 3 different files for different scenarios and in one particular case my tool only cared about the .env file, so I had to do a lot of `mv .env.dev .env` every time I had to switch to another env configuration.
- another-dave 2y agoBut running: ln -sf .env.dev .env doesn't seem any worse than running: envelope export dev ?
- Aeolun 2y agoWell… one is just a tad more readable.
- another-dave 2y agoMy personal approach is to favour more universal tools, so would prefer using symlinks & then adding a shell alias (or a package.json script) if I want to make it quicker to type. To each their own, though!