ewels/rich-click

Swap `from rich_click import ...` in `rich_click/cli.py` to specify modules.

dwreeves opened this issue · 0 comments

Replace this:

from rich_click import command as rich_command
from rich_click import group as rich_group
from rich_click import RichCommand, RichCommandCollection, RichGroup, RichMultiCommand

with this:

from rich_click.decorators import command as rich_command
from rich_click.decorators import group as rich_group
from rich_click.rich_command import RichCommand, RichCommandCollection, RichGroup, RichMultiCommand

The former is causing an annoying deprecation error.

This needs to be implemented in the 1.7.x branch, and then released+patched.

I will get to this later today when I am at home and can access my personal laptop.