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

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

Closed
dwreeves opened this issue Jan 3, 2024 · 0 comments
Closed
Assignees

Comments

@dwreeves
Copy link
Collaborator

dwreeves commented Jan 3, 2024

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.

@dwreeves dwreeves self-assigned this Jan 3, 2024
@dwreeves dwreeves closed this as completed Jan 6, 2024
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

1 participant