Crates.io | lenv-rs |
lib.rs | lenv-rs |
version | 0.1.1 |
source | src |
created_at | 2024-10-19 06:39:09.91075 |
updated_at | 2024-10-19 06:55:58.194344 |
description | Manage symlinks from a root file to multiple destinations |
homepage | |
repository | https://github.com/tyhopp/lenv-ports |
max_upload_size | |
id | 1415122 |
size | 2,536,615 |
Manage symlinks from a root file to multiple destinations.
Useful for monorepos that use a single .env
file as a source of truth for many child projects.
In the root of your project:
.env
(or other named) file you want to symlink.lenv
file with the destination locations to symlink to, such as:project/a/.env
project/b/.env
cargo install lenv-rs
to install lenvlenv link
to create symlinksUse the -help
flag to see all usage instructions.