#!/usr/bin/env python3 import typer from typing import Annotated app = typer.Typer() @app.command() def goodbye(name: Annotated[str, typer.Option(prompt="What is your name?")] = "World"): typer.echo(f"goodbye {name}") @app.command() def main(): typer.echo(f"Hello") if __name__ == "__main__": app()