click-default-group icon indicating copy to clipboard operation
click-default-group copied to clipboard

conflict with other extensions like click-help-colors

Open ssbarnea opened this issue 5 years ago • 1 comments

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 avatar Apr 29 '20 10:04 ssbarnea

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

y-marui avatar Apr 18 '22 09:04 y-marui