dotenv
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 Gómez - creator and maintainer
Repository
dotenv
Owner
Statistic
- 0
- 0
- 0
- 6
- 0
- over 3 years ago
- June 20, 2019
License
MIT License
Links
Synced at
Sun, 24 Nov 2024 22:16:13 GMT
Languages