Skip to content

no_value and required parameters are mutually exclusive #318

@drehelis

Description

@drehelis

Is it possible to have both no_value and required for the same parameter config?
I want to have user consent and want to make this to be mandatory.
image

required is ignored in this case.

    {
      "name": "I understand the action being performed",
      "param": "--consent",
      "default": false,
      "required": true,
      "no_value": true
    }

I'd love to add this, if you could give me a hint :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions