Skip to content

Latest commit

 

History

History
30 lines (19 loc) · 1.01 KB

README.md

File metadata and controls

30 lines (19 loc) · 1.01 KB

ConfigKit

swift >= 4.0 macOS Linux Apache 2

Structure for loading configuration details from file, environment, or command line

Usage

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
    
}

Dependancies

  • VersionKit - Used for reference of the version of this package ConfigKit.version - VersionKit

Authors

License

This project is licensed under Apache License v2.0 - see the LICENSE.md file for details