When I create a template from an existing .env file located in another directory as my working directory, the template is not created in my working directory
Steps to reproduce
mkdir temp
echo "setting=123" > temp/.env
dotenv -t temp/.env
cat temp/.env.template
Expected behavior
I expected the .env.template to be created in my current (working) directory and not in the directory of the .env file as per the documentation.
System configuration
dotenv version:
dotenv 2.8.1
When I create a template from an existing
.envfile located in another directory as my working directory, the template is not created in my working directorySteps to reproduce
Expected behavior
I expected the
.env.templateto be created in my current (working) directory and not in the directory of the.envfile as per the documentation.System configuration
dotenv version:
dotenv 2.8.1