"""Hello CLI.""" import logging import typer from m2mconfig.error_handlers import handle_uncaught_errors from m2mconfig.hello import hello logger: logging.Logger = logging.getLogger(__name__) hello_cli: typer.Typer = typer.Typer() @hello_cli.command("bonjour", short_help="Saluer quelqu'un par son nom") @handle_uncaught_errors def bonjour(name: str) -> None: """CLI command to say bonjour.""" logger.warning(hello(name))