Crates.io | dotenv-shell |
lib.rs | dotenv-shell |
version | 1.0.1 |
source | src |
created_at | 2016-02-06 11:48:14.350362 |
updated_at | 2016-02-24 01:00:53.461812 |
description | Launch a new shell (or another program) with your loaded dotenv |
homepage | |
repository | https://github.com/badboy/dotenv-shell |
max_upload_size | |
id | 4098 |
size | 4,448 |
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, which handles the complicated part anyway.
cargo install dotenv-shell
Simply launching your $SHELL
:
dotenv-shell
Launching an external program:
dotenv-shell my-application
MIT. See LICENSE.