Crates.io | envy-mask |
lib.rs | envy-mask |
version | 0.4.2 |
source | src |
created_at | 2024-02-08 04:03:12.782159 |
updated_at | 2024-02-19 06:18:26.019492 |
description | A Config File Example Generator |
homepage | |
repository | https://github.com/mdmmn378/envy-rs |
max_upload_size | |
id | 1131606 |
size | 146,687 |
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.
Install the binary with the following command:
cargo install envy-mask
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.
This project uses Cargo, the Rust package manager.
To build the project:
cargo build
To run tests:
cargo test
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.