Suppressing Rich Tracebacks in Typer Apps

Suppressing Rich Tracebacks in Typer Apps

# suppress rich traceback
app = typer.Typer(pretty_exceptions_show_locals=False)

This must be applied to the configuration of the Typer object created for the CLI.

links