3 releases

0.4.2 Feb 19, 2024
0.4.1 Feb 8, 2024
0.4.0 Feb 8, 2024

#88 in Configuration

Download history 3/week @ 2024-02-08 138/week @ 2024-02-15 69/week @ 2024-02-22 15/week @ 2024-02-29 1/week @ 2024-03-07 1/week @ 2024-03-14 27/week @ 2024-03-28 26/week @ 2024-04-04

53 downloads per month

MIT license

120KB
344 lines

envy - A Config File Example Generator


GitHub Actions Workflow Status

Envy is a tool that generates example configuration files from your existing .env or .toml files. It masks sensitive information and helps you maintain up-to-date example configuration files for your projects.

Example

Installation

Install the binary with the following command:

cargo install envy-mask

Usage

The main command for the tool is generate, which requires the path to the .env or .toml file as an argument.

envy generate path/to/.env

or

envy generate path/to/config.toml

This will generate a .env.example or example.toml file in the current directory.

Development

This project uses Cargo, the Rust package manager.

To build the project:

cargo build

To run tests:

cargo test

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

MIT

Dependencies

~3–14MB
~132K SLoC