dotenv
Simple Crystal lang .env file loader
Installation
- 
Add the dependency to your
shard.yml:dependencies: dotenv: github: xtokio/dotenv - 
Run
shards install 
Usage
require "dotenv"
When .env file is in the same directory
Dotenv.load
When .env file is in a specific folder
Dotenv.load(path: "/var/www/app/.env")
Contributing
- Fork it (https://github.com/xtokio/dotenv/fork)
 - Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create a new Pull Request
 
Contributors
- Luis GoĢmez - creator and maintainer