Skip to content

Latest commit

 

History

History
80 lines (50 loc) · 1.1 KB

bug_report.md

File metadata and controls

80 lines (50 loc) · 1.1 KB
name about title labels assignees
Bug report
Create a report to help us improve
[BUG]
bug

Describe the bug

Write here a clear and concise description of what the bug is.

To Reproduce

Steps to reproduce the behavior with a minimum self-contained file.

Replace each part with your own scenario:

  • Create a file main.py with:
import typer

app = typer.Typer()


@app.command()
def hello(name: str):
    typer.echo(f"Hello {name}")


if __name__ == "__main__":
    app()
  • Call it with:
python main.py Camila
  • It outputs:
Hello Camila
  • But I expected it to output:
Hello World

Expected behavior

Add a clear and concise description of what you expected to happen.

Screenshots

If applicable, add screenshots to help explain your problem.

Environment

  • OS: [e.g. Linux / Windows / macOS]
  • Typer Version [e.g. 0.3.0], get it with:
python -c "import typer; print(typer.__version__)"
  • Python version, get it with:
python --version

Additional context

Add any other context about the problem here.