We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
feud.click.is_rich
rich_click
There is currently no easy way to check whether rich_click is installed and being used.
A simple way to do this is to change:
feud/feud/click/__init__.py
Lines 8 to 11 in e196e2a
To:
#: Whether ``rich_click`` is installed or not. is_rich: bool try: from rich_click import * is_rich = True except ImportError: from click import * is_rich = False
Then feud.click.is_rich can be used within the code base or by the user.
Existing parts of the code base relying on similar checks should be updated to re-use this variable.
The text was updated successfully, but these errors were encountered:
rich-click
Fixed in #132.
Sorry, something went wrong.
No branches or pull requests
Does this suggestion already exist?
Feature description
There is currently no easy way to check whether
rich_click
is installed and being used.A simple way to do this is to change:
feud/feud/click/__init__.py
Lines 8 to 11 in e196e2a
To:
Then
feud.click.is_rich
can be used within the code base or by the user.Existing parts of the code base relying on similar checks should be updated to re-use this variable.
The text was updated successfully, but these errors were encountered: