Popularity
4.8
Growing
Activity
0.0
Stable
11
4
4
Programming language: Crystal
License: MIT License
Tags:
Configuration
Latest version: v0.4.1
ambience alternatives and similar shards
Based on the "Configuration" category.
Alternatively, view ambience alternatives based on common mentions on social networks and blogs.
-
totem
Crystal configuration with spirit. Load and parse configuration in JSON, YAML, dotenv formats.
Static code analysis for 29 languages.
Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.
Promo
www.sonarqube.org
Do you think we are missing an alternative of ambience or a related project?
Popular Comparisons
README
ambience 
App configuration using ENV
for Crystal applications inspired by figaro.
Installation
Add this to your application's shard.yml
:
dependencies:
ambience:
github: vjdhama/ambience
version: 0.4.2
Usage
require "ambience"
Ambience.application("configuration_file_path", "environment")
Ambience.load
Refer example kemal application for more insight.
Example configuration file
api_url: example.com
development:
app_id: foobar123
app_key: barfoo123
production:
app_id: bar123foo
app_key: 123foobar
TODO'S
- [x] Convenience Proxy Methods.
- [ ] Required keys convenience method.
- [ ] Cli for Ambience.
- [ ] Add examples for frost.
- [X] Add examples for kemal.
Contributing
- Fork it ( https://github.com/vjdhama/ambience/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
- vjdhama - Vijay Dhama : creator, maintainer