8000 UserWarning is displayed when using rich-cli · Issue #99 · Textualize/rich-cli · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

UserWarning is displayed when using rich-cli #99

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

Open
liiight opened this issue May 15, 2025 · 0 comments
Open

UserWarning is displayed when using rich-cli #99

liiight opened this issue May 15, 2025 · 0 comments

Comments

@liiight
Copy link
Contributor
liiight commented May 15, 2025

UserWarning is displayed when using rich-cli:

/Users/ocarmi/.local/share/uv/tools/rich-cli/lib/python3.13/site-packages/click/core.py:1186: UserWarning: The parameter -j is used more than once. Remove its duplicate as parameters should be unique.
  self.parse_args(ctx, args)
SOME_RANDOM_TEXT

Seems that both --json and --emoji flag use the same -j shorthand which now raises a warning due to
pallets/click#2396 which is a part of https://github.com/pallets/click/releases/tag/8.2.0

For anyone interested, as a workaround, Im using this invocation:

uvx --from rich-cli --with click==8.1.0 rich
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
0