You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Run script with help option: python script.py --help
See the output with all special character to draw the frame around "Options"
Usage: script.py [OPTIONS]
┌─ Options ───────────────────────────────────────────────────────────────────┐
│ --install-completion Install completion for the current shell. │
│ --show-completion Show completion for the current shell, to │
│ copy it or customize the installation. │
│ --help Show this message and exit. │
└─────────────────────────────────────────────────────────────────────────────┘
How to disable the framing of the help command like the pretty_exceptions_enable=False disable it it for exceptions?
Screenreaders have difficulties reading drawing like this because it often read every character with it's name if it exists or binary values.
Example of expected output:
Usage: script.py [OPTIONS]
Options:
--install-completion Install completion for the current shell.
--show-completion Show completion for the current shell, to
copy it or customize the installation.
--help Show this message and exit.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
First Check
Commit to Help
Example Code
Description
python script.py --help
How to disable the framing of the help command like the
pretty_exceptions_enable=False
disable it it for exceptions?Screenreaders have difficulties reading drawing like this because it often read every character with it's name if it exists or binary values.
Example of expected output:
Operating System
Windows
Operating System Details
No response
Typer Version
0.7.0
Python Version
3.11
Additional Context
No response
Beta Was this translation helpful? Give feedback.
All reactions