A command line tool that can switch the contents of the .env
file under the directory.
npm i -g switch-dotenv
You can replace the contents of the dot file under the .swenv
directory with the .env
file under the directory.
$ swenv
? Which dot-file to replace ?
> .env-dev
.env-stg
.env-prd