Advanced
dotenvx ext genexample
Generate a .env.example file from your current .env file contents.
$ echo "HELLO=World" > .env
$ dotenvx ext genexample
✔ updated .env.example (1)
.env.example
# .env.example
HELLO=""
Generate a .env.example file from your current .env file contents.
$ echo "HELLO=World" > .env
$ dotenvx ext genexample
✔ updated .env.example (1)
# .env.example
HELLO=""