Check for a new `.env` file after certain CommandBox commands
elpete opened this issue · 2 comments
elpete commented
Here's how I envision this one going:
Using both a preCommand
and postCommand
interceptor, check if the command executed changed the current directory. If it did, check for an .env
file. If one is found, load it and inform the user in the console.