lenv-rs

Crates.iolenv-rs
lib.rslenv-rs
version0.1.1
sourcesrc
created_at2024-10-19 06:39:09.91075
updated_at2024-10-19 06:55:58.194344
descriptionManage symlinks from a root file to multiple destinations
homepage
repositoryhttps://github.com/tyhopp/lenv-ports
max_upload_size
id1415122
size2,536,615
Ty Hopp (tyhopp)

documentation

README

lenv-rs

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.

Usage

In the root of your project:

  1. Create a .env (or other named) file you want to symlink
  2. Create a .lenv file with the destination locations to symlink to, such as:
project/a/.env
project/b/.env
  1. Execute cargo install lenv-rs to install lenv
  2. Execute lenv link to create symlinks

Use the -help flag to see all usage instructions.

Commit count: 29

cargo fmt