It would be useful to implement support for new option type (a possible name is map) that will allow gathering values of options with specified prefix into object. Specification field map could have string or boolean value. In the former case string specifies prefix to detect appropriate options. In the case of true value prefix is equal to full option name (value of specification field full).
Hello,
It would be useful to implement support for new option type (a possible name is
map
) that will allow gathering values of options with specified prefix into object. Specification fieldmap
could have string or boolean value. In the former case string specifies prefix to detect appropriate options. In the case oftrue
value prefix is equal to full option name (value of specification fieldfull
).Example:
So
would give:
Thanks, Denis