from typing import Tuple

import doctyper
from typing_extensions import Annotated


def main(
    user: Annotated[Tuple[str, int, bool], doctyper.Option()] = (None, None, None),
):
    username, coins, is_wizard = user
    if not username:
        print("No user provided")
        raise doctyper.Abort()
    print(f"The username {username} has {coins} coins")
    if is_wizard:
        print("And this user is a wizard!")


if __name__ == "__main__":
    doctyper.run(main)
