Structure for loading configuration details from file, environment, or command line
var config: Config = Config().load(fromFile: "/.../global_settings.json").load(fromFile: "~/.../local_settings.json")
if let connection = config.getConnection(withName: "web service") {
let uri = conncetion.uri
}
- VersionKit - Used for reference of the version of this package ConfigKit.version - VersionKit
- Tyler Anger - Initial work - TheAngryDarling
This project is licensed under Apache License v2.0 - see the LICENSE.md file for details