This is a simple env manager written on Rust.
It allows you switch between several .env
files.
...
Switch option allows you to switch between several env files. The utility takes the chosen env and copies in the root of your application as .env
- Create folder
env
. - Place env files inside the folder following the next name convention:
.{name}.env
For example:.superbrand.env
and.anothersuperbrand.env
. - Run
cargo run
within your app root directory - Follow the prompt within your terminal
Options
-- switch
- starts switching process-- test
- starts testing process
WIP.
Switch also contains a second argument, where you can specify known name of env you want to use. For example: cargo run -- switch -- superbrand
WIP