I've written a library for options that does exactly this, amongst other useful 
things with options: 
[https://nimble.directory/pkg/optionsutils](https://nimble.directory/pkg/optionsutils)

Reply via email to