generate
Check
envshh help generate
for more details from the command line
Generate .env.example file
Demo
Screenshot
Usage
envshh generate <options>
Options
- env-path
- value
--value <value>
(Optional): Specify a value to replace empty values in the .env example file. For example, if you specify--value "<insert-text>"
, the generated file will haveEXAMPLE=<insert-text>
instead ofEXAMPLE=
- suffix
--suffix <suffix>
(Optional): Specify a suffix to put after the .env filename in place of ‘example’. For example, if you specify--suffix dev
, the generated file will be named.env.dev
Examples
envshh generate
envshh generate --value "<insert-text>" # EXAMPLE=<insert-text>
envshh generate --suffix dev # Filename will be [.env filename].dev