koding / multiconfig

Load configuration from multiple sources in Go
http://godoc.org/github.com/koding/multiconfig
MIT License
454 stars 64 forks source link

Add CamelCase option, to create separated env and flag names #21

Closed fatih closed 9 years ago

fatih commented 9 years ago

This PR introduces a new CamelCase feature for both Env and Flag loaders. Once enabled it allows us to create flags of --access-key instead of --accesskey, and envrionment variables of ACCESS_KEY instead of ACCESSKEY. This is backwards compatible with the current API.

cihangir commented 9 years ago

:+1: