-
First Check
Commit to Help
Example Codeimport typer
cli = typer.Typer(rich_markup_mode=None)
print(f"rich markup mode is: {cli.rich_markup_mode}")
@cli.command()
def foo():
print("hi")
if __name__ == "__main__":
cli() DescriptionAs the title says, it doesn't appear possible to get a non-formatted help output if rich is installed, even when Which is set for Operating SystemWindows, macOS Operating System DetailsNo response Typer Version0.12.3 Python VersionPython 3.12.4 Additional ContextNo response |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi! Yes, this does seem to be a bug in |
Beta Was this translation helpful? Give feedback.
Hi! Yes, this does seem to be a bug in
typer
. This PR attempts to resolve the issue, and covers the same code path you've mentioned as well: #726. The PR is currently work-in-progress but should be in a good state to merge relatively soon.