Conversation
|
@awegrzyn @vascobarroso with this DPL ConfigParamSpecs can be configured with (almost) the same syntax that ConfigurableParam uses for the command line, i.e.: which is one of (my understanding of) the complains of @shahor02 for the DPL UI of the configuration mechanism. Ruben with this you can do: to set the values declared by |
A string formatter as: str://key=value;key2=value2;key2.key3=value3... is interpreted as a ptree.
|
@ktf LGTM, do you mind if I add some docs and unit test before merging? |
|
@awegrzyn sure. Do you want me to do them? |
|
nah it's fine, I'll do it, I expect to do some refactoring anyway. |
|
I was actually thinking one cool thing to have would be to pass a LUA script to create the options in a programmatic way. ;-) |
|
Sure, but not sure I understand fully. Just lemme know how do you prefer to proceed. |
|
That was an half joke and not for this PR... ;-) |
|
@ktf Any reason for using |
|
Good to go from my side although I'm also interested about |
|
I think it it's because ConfigurableParam supports vectored assignment (like an initializer list) for which we use ',' to follow C++ notation. |
|
@sawenzel ok, understood, albeit |
|
anything works as long as you parse it correctly |
|
maybe I misunderstood your comment, but my point is that bash would choke on |
A URL format as:
str://key=value;key2=value2;key2.key3=value3...
is interpreted as a ptree.