https://github.com/badboy/dotenv-shell
Launch a new shell (or another program) with your loaded dotenv
https://github.com/badboy/dotenv-shell
Last synced: about 1 year ago
JSON representation
Launch a new shell (or another program) with your loaded dotenv
- Host: GitHub
- URL: https://github.com/badboy/dotenv-shell
- Owner: badboy
- License: mit
- Created: 2016-02-06T11:19:06.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2016-02-28T12:19:54.000Z (about 10 years ago)
- Last Synced: 2025-04-10T06:22:36.800Z (about 1 year ago)
- Language: Rust
- Homepage:
- Size: 6.84 KB
- Stars: 8
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# dotenv-shell
[](https://crates.io/crates/dotenv-shell)
Launch a new shell (or another program) with your loaded dotenv.
This application is meant to be used on development or testing environments in which setting environment variables is not practical.
It loads environment variables from a .env file, if available, and mashes those with the actual environment variables provided by the operative system.*
_* Adopted from [rust-dotenv](https://github.com/slapresta/rust-dotenv), which handles the complicated part anyway._
## Installation
```bash
cargo install dotenv-shell
```
## Usage
Simply launching your `$SHELL`:
```
dotenv-shell
```
Launching an external program:
```
dotenv-shell my-application
```
## License
MIT. See [LICENSE](LICENSE).