Skip to content

Example needed for boolean argument #34

Open
@vsoch

Description

@vsoch

I tried:

...
    insecure: Optional[bool]=field(
        default=False,
        metadata={
            "help": "Insecure registry using http and not https?", 
            "env_var": False,
            "required": False,
        }
    )

But it is expecting a value:

                 [--kueue-queue-name VALUE]
                 [--kueue-registry VALUE]
                 [--kueue-container VALUE]
                 [--kueue-insecure VALUE]
                 [--kueue-namespace VALUE]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions