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

conflict with other extensions like click-help-colors #13

Open
ssbarnea opened this issue Apr 29, 2020 · 1 comment
Open

conflict with other extensions like click-help-colors #13

ssbarnea opened this issue Apr 29, 2020 · 1 comment

Comments

@ssbarnea
Copy link

Due to the use of custom class, I discovered that I cannot add the default group to a group that is already using it:

from click_help_colors import HelpColorsGroup, HelpColorsCommand

@click.group(
    cls=HelpColorsGroup,
    help_headers_color='yellow'
)

Is there a workaround for this?

@ssbarnea ssbarnea changed the title impossible to use with other extensions like click-help-colors conflict with other extensions like click-help-colors Apr 29, 2020
@y-marui
Copy link

y-marui commented Apr 18, 2022

We have to define a new class to combine classes.
eg. DefaultGroup and HelpColorsGroup.

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

No branches or pull requests

2 participants