envctl

Crates.ioenvctl
lib.rsenvctl
version1.1.0
sourcesrc
created_at2023-04-17 15:14:02.18261
updated_at2023-04-23 12:08:16.356579
descriptionTake full control over your .env environment variables
homepagehttps://github.com/yu-ichiro/envctl
repositoryhttps://github.com/yu-ichiro/envctl.git
max_upload_size
id841575
size45,521
Yuichiro Luke Smith (yu-ichiro)

documentation

README

envctl

🚀 Take full control over your .env environment variables

usage

$ envctl --help
Environment Variable Control

Usage: envctl <COMMAND>

Commands:
  update  Read settings from INPUT and update OUTPUT
  help    Print this message or the help of the given subcommand(s)

Options:
  -h, --help     Print help
  -V, --version  Print version
$ ls
.env.example
$ cat .env.example
A=1
B=2
C=
$ envctl update
A (1): 
B (2): 3
C: 4
$ cat .env
A=1
B=3
C=4

See envctl update --help for higher granularity.

installation

$ cargo install envctl

or for development,

$ gh repo fork yu-ichiro/envctl --clone --remote
$ cd envctl
$ cargo install --path .

Make sure $HOME/.cargo/bin is included in your path.

Commit count: 15

cargo fmt