| Crates.io | envctl |
| lib.rs | envctl |
| version | 1.1.0 |
| created_at | 2023-04-17 15:14:02.18261+00 |
| updated_at | 2023-04-23 12:08:16.356579+00 |
| description | Take full control over your .env environment variables |
| homepage | https://github.com/yu-ichiro/envctl |
| repository | https://github.com/yu-ichiro/envctl.git |
| max_upload_size | |
| id | 841575 |
| size | 45,521 |
🚀 Take full control over your .env environment variables
$ 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.
$ 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.