Skip to content

Commit

Permalink
Update docs to reflect latest Rich output changes
Browse files Browse the repository at this point in the history
  • Loading branch information
JacobKochems committed Aug 3, 2023
1 parent f265dc2 commit 87a9ce7
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion docs/tutorial/printing.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,8 +142,13 @@ The best results for your command line application would be achieved combining b

### If you don't want to use Rich formated output

In case you'd rather like to use the simple text ouput, but need **Rich** to be installed in your environment for any other reason, you can disable the use of **Rich** by **Typer** with the following call:`typer.enable_rich(False)`. This is a global switch affecting all instances of `typer.Typer()`.
In case you'd rather like to use the simple text ouput, but need **Rich** to be installed in your environment for any other reason, you can disable the use of **Rich** by **Typer**.
There are two functions in the **Typer** module to control the output format globally, affecting all `typer.Typer()` instances:

1. `typer.enable_rich_help`
2. `typer.enable_rich_traceback`

The first one controls all help and **Click's** exception messages. The second one controls the format of the stack trace.

## "Standard Output" and "Standard Error"

Expand Down

0 comments on commit 87a9ce7

Please sign in to comment.