ParameterHandler icon indicating copy to clipboard operation
ParameterHandler copied to clipboard

Ignore some parameters

Open soullivaneuh opened this issue 10 years ago • 3 comments

I have a parameters.yml file with almost 60 parameters.

Most of them are rarely aim to be changed.

I would like to tell parameter-handler to ignore it on interactive asking and just take the default from dist.

Something like this:

{
    "extra": {
        "incenteev-parameters": {
            "ignored-keys": [
                "my_first_param",
                "my_second_param"
            ]
        }
    }
}

What do you think?

soullivaneuh avatar Oct 07 '15 14:10 soullivaneuh

I would like a better naming than ignored-keys. They are not fully ignored. they are just skipped from the interaction.

But otherwise, yes, I could accept such feature.

stof avatar Oct 07 '15 14:10 stof

I would like a better naming than ignored-keys.

Do you have some propositions?

soullivaneuh avatar Oct 07 '15 14:10 soullivaneuh

I'm interested in this as well, for a different usecase though - I'd like to set defaults for some parameters (by ignoring them in the parameter-handler), so they can then be generated using an install command.

colinfrei avatar Oct 11 '15 19:10 colinfrei