Skip to content

Envvars ignored when using printHelpOnEmptyArgs #382

@Pyeroh

Description

@Pyeroh

When I create a CliktCommand with printHelpOnEmptyArgs set to true, with an option, if I launch my program without any option but with environment variables, they are not considered by the parser and the help message is printed.

Expected : if environment variables matching defined options exist, they should be considered to don't print the help message (as corresponding options can be filled)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions