You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sometimes we can not share .env file. However it would be useful if we could generate a .env.example from it which contains all the comments and keys name in it. For example, suppose .env has the following content,
# this is comment
API_SECRET_KEY=some-value
Then generated .env.example file has the following content,
# this is comment
API_SECRET_KEY=
It would be useful if a CLI command is provided for it.
Thanks
The text was updated successfully, but these errors were encountered:
Something cool about an .env.example file is that it can not only be used for human reference purposes, but also to facilitate an opt-in programmatic safety feature. The example file can be shipped with an application, then read at runtime and used to establish a list of the names of variables that must be defined. See the dotenv module in Deno's standard library: https://deno.land/std@0.146.0/dotenv#safe-mode
Hi,
Sometimes we can not share .env file. However it would be useful if we could generate a
.env.example
from it which contains all the comments and keys name in it. For example, suppose.env
has the following content,# this is comment API_SECRET_KEY=some-value
Then generated
.env.example
file has the following content,# this is comment API_SECRET_KEY=
It would be useful if a
CLI
command is provided for it.Thanks
The text was updated successfully, but these errors were encountered: