Skip to main content

Crate env_gen

Crate env_gen 

Source
Expand description

A command line tool for generating an environment variable file.

§Install

$ cargo install env-gen

§Usage

$ env-gen

This will prompt you to create a new configuration file, optionally using an existing template file, and add key-value pairs for your environment variables. The generated .env file will be created in the current working directory.

The following template files are supported (searched in the current working directory):

  • example.env
  • .example.env
  • env.example
  • .env.example
  • env.sample
  • .env.sample
  • .env-dist

Structs§

Config
Configuration struct