"""
Module: commands
Description: Example commands for {{ pack_name }}

Implements:
    - docs/sdk/commands.md
"""

from huitzo_sdk import Context, command


@command("hello", namespace="{{ namespace }}")
async def hello_world(args: dict, ctx: Context) -> dict:
    """A simple hello world command.

    Returns:
        Dictionary with greeting message
    """
    name = args.get("name", "World")
    return {"message": f"Hello, {name}!"}
