-
First Check
Commit to Help
Example Codeimport typer
app = typer.Typer()
@app.command()
def create(username: str):
print(f"Creating user: {username}")
@app.command()
def fail():
print(f"Failing")
42 / 0
if __name__ == "__main__":
app() DescriptionThe output of the command above is:
note that the width of the table for help is much higher than the width of stacktrace. The max width for stack trace is only 100, which is very small, making it very hard to read for many our use-cases. This bug happens regardless of OS, although figuring out if the default showcase will be Operating SystemWindows Operating System DetailsWindows 10 Typer Version0.12.0 Python VersionPython 3.11.4 Additional ContextNo response |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Thanks for the report and thanks for the fix in #788 🚀 This will be available in Typer |
Beta Was this translation helpful? Give feedback.
Thanks for the report and thanks for the fix in #788 🚀
This will be available in Typer
0.12.5
released in the next few hours. 🎉