import typer app = typer.Typer() @app.command() def check_health(url: str): print( f"Ehem... Yeah... so... I've definitely checked {url}... I just don't remember clearly if it was alive or not..." )