Skip to content

Commit 888dbda

Browse files
authored
Disable rich in CLI (#3427)
1 parent 59b160c commit 888dbda

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/huggingface_hub/cli/_cli_utils.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,12 @@ def typer_factory(help: str) -> typer.Typer:
5858
return typer.Typer(
5959
help=help,
6060
add_completion=True,
61-
rich_markup_mode=None,
6261
no_args_is_help=True,
6362
cls=AlphabeticalMixedGroup,
63+
# Disable rich completely for consistent experience
64+
rich_markup_mode=None,
65+
rich_help_panel=None,
66+
pretty_exceptions_enable=False,
6467
)
6568

6669

0 commit comments

Comments
 (0)