Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

_format_envvars does not seem to support auto_envvar_prefix on group #119

Open
gsemet opened this issue Jan 24, 2023 · 1 comment
Open

Comments

@gsemet
Copy link

gsemet commented Jan 24, 2023

Hi,

I would like to see autoenvvar on documentation on group (+subground/subcommands).

@click.group(
   ...
                invoke_without_command=True,
                context_settings={
                    "auto_envvar_prefix": self.envvar_prefix,
                },
            )

The _format_envvars function only seems to support auto_envvar_prefix on @click.command.

Thanks.

@stephenfin
Copy link
Member

Similar to #114 but for a different setting. Would welcome a PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants