#env-file #generate #value #recursion #cli #directory

app genenv

Generate .env.example from .env file

2 stable releases

1.1.0 Apr 1, 2022
1.0.0 Apr 1, 2022

#51 in #env-file

GPL-3.0 license

18KB
127 lines

Genenv - A simple cli to generate .env.example files

image

Installation

cargo install genenv

Usage examples:

Generate .env.example in current directory

genenv

Generate .env.example in specified directory

genenv path/to/directory

Generate .env.example with custom value placeholder

genenv --value="placeholder"

Generate .env.examples recursively from current directory

genenv -r

Dependencies

~3–13MB
~110K SLoC