Skip to content

Instantly share code, notes, and snippets.

@mczachurski
Created February 18, 2018 07:38
Show Gist options
  • Save mczachurski/da3a52b19cad4018c62a43905fbe3000 to your computer and use it in GitHub Desktop.
Save mczachurski/da3a52b19cad4018c62a43905fbe3000 to your computer and use it in GitHub Desktop.
// Read configuration file.
let configurationManager = ConfigurationManager()
.load(file: "configuration.json", relativeFrom: .pwd)
.load(.environmentVariables)
.load(.commandLineArguments)
let configuration = configurationManager.build()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment