alexferl / vyper

Python configuration with (more) fangs
MIT License
144 stars 21 forks source link

Overlaying configurations #23

Closed edupo closed 4 years ago

edupo commented 5 years ago

I have a use case where I want to overlay configurations. By overlay I mean loading several configs from files named but those are in different paths: Some config is on %APPDATA% and some other will be on the cwd.

I found a way implementing my own helper method to load and merge in sequentially different files, but I'm wondering why this isn't a feature.

What do you think?

alexferl commented 5 years ago

There's no specific reason why this isn't a feature other than viper doesn't support it and I never thought of/needed that feature myself.

What's your use case?