Installing the command-line executable
Assuming you have Rust/Cargo installed , run this command in a terminal:
cargo install genenv
It will make the genenv command available in your PATH if you've allowed the PATH to be modified when installing Rust . cargo uninstall genenv uninstalls.
Back to the crate overview .
Readme
Genenv - A simple cli to generate .env.example files
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