2015-05-15 15:45:49 -04:00
2015-05-15 04:44:06 -04:00
2015-05-13 19:09:22 -04:00
2015-05-15 14:56:12 -04:00
2015-05-13 20:21:24 -04:00
2015-05-13 19:18:25 -04:00
2015-05-15 04:45:56 -04:00
2015-05-15 15:12:01 -04:00
pub
2015-04-07 19:41:48 -04:00
2015-05-13 20:21:24 -04:00
2015-05-15 04:46:15 -04:00
2015-05-13 19:42:11 -04:00

dotenv

Load environment variables at runtime from a .env file.

Pub Version Build Status Documentation

usage

See documentation.

cli

Get the latest:

$ pub global activate dotenv

Run:

$ pub global run dotenv:new  # create a `.env` file and add it to `.gitignore`
$ pub global run dotenv      # load the file and print the environment to stdout

limitations

Variable substitution and character escaping is a work in progress. Some cases don't work yet. Pull requests gleefully considered.

prior art
Description
Loads environment variables from .env.
Readme MIT 631 KiB
Languages
C++ 33.4%
Dart 31.6%
CMake 27.3%
Swift 2.4%
C 2%
Other 3.3%