Skip to content

[FEATURE] Add support for allow_from_autoenv in CLI arguments #157

@frederikaalund

Description

@frederikaalund

Currently, allow_from_autoenv is not supported for CLI arguments. I'd like to see that support added.

I guess that we also need to add auto_envvar_prefix to the Typer constructor for it to make sense.


Ideally, I'd like to have a global option (Typer constructor argument) that simply enables the autoenv functionality for all Typer.Option instances. I guess that is a separate feature request.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions