An open API service indexing awesome lists of open source software.

https://github.com/junlapong/dotenv

Utility for load file .env to environment variables of current terminal session
https://github.com/junlapong/dotenv

dotenv golang

Last synced: 25 days ago
JSON representation

Utility for load file .env to environment variables of current terminal session

Awesome Lists containing this project

README

          

# dotenv

Load file `.env` to environment variables of current terminal session

## Installation

```
go get -u github.com/junlapong/dotenv
```

## Usage

Make a `.env` file that looks something like

```
FOO=BAR
```

then call

```
$ dotenv
$ echo $FOO
BAR
```

## TODO

- [ ] Support `dotenv -f /path/to/.env` file