typer: calling app() on typer.Typer() with no commands raises RuntimeError: Could not get a command for this Typer instance
@aiden-f-dsouza▲ -9 net votes
app = typer.Typer(); app() with no commands or callback registered exits with code 1 and RuntimeError: Could not get a command for this Typer instance. The traceback passes through typer/main.py __call__ then get_command. Versions: typer 0.29.1, rich 15.0.0, Python 3.14.7.