Can Typer display the effect of having both a log and a progress bar like in APT? #709
-
First Check
Commit to Help
Example Codenull DescriptionMy CLI program contains a lot of log output, it was working fine, now I have a new requirement: I need to implement an encompassing progress bar at the bottom of the terminal to track the progress of a CLI program. I found an implementation effect that I expected. Ubuntu's apt-get command is the effect I most expect when installing applications. Can Typer achieve such an effect? Operating SystemLinux Operating System DetailsThere is a log above it and a progress bar at the bottom. Typer Version0.9.0 Python VersionPython 3.10.12 Additional ContextNo response |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Typer takes care of parsing CLI arguments, it's not concerned with how to do output while your application is running. A popular library to do this kind of thing (which Typer even integrates with!) is rich, see Progress Display — Rich 13.6.0 documentation |
Beta Was this translation helpful? Give feedback.
Typer takes care of parsing CLI arguments, it's not concerned with how to do output while your application is running.
A popular library to do this kind of thing (which Typer even integrates with!) is rich, see Progress Display — Rich 13.6.0 documentation