https://github.com/oslavdev/env-manager
A simple env manager utility written on rust. WIP
https://github.com/oslavdev/env-manager
Last synced: 10 months ago
JSON representation
A simple env manager utility written on rust. WIP
- Host: GitHub
- URL: https://github.com/oslavdev/env-manager
- Owner: oslavdev
- Created: 2022-11-17T10:47:44.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2022-11-18T09:39:24.000Z (about 3 years ago)
- Last Synced: 2025-01-24T05:11:42.135Z (about 1 year ago)
- Language: Rust
- Homepage:
- Size: 86.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.MD
Awesome Lists containing this project
README
# ENV MANAGER 🚧 WIP
This is a simple env manager written on Rust.
It allows you switch between several `.env` files.
# How To
## Install
...
## Switch
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`
1. Create folder ```env```.
2. Place env files inside the folder following the next name convention: ```.{name}.env``` For example: ```.superbrand.env``` and ```.anothersuperbrand.env```.
3. Run ```cargo run``` within your app root directory
4. Follow the prompt within your terminal
### Terminal preview:

### Folder example:

## Shortcuts:
**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```
## Test
WIP