import sys
import asyncio

if argument := sys.argv[1]:
    if argument == "character":
        from src.character import command

        command()

    elif argument == "staff":
        from src.staff import command

        command()

    elif argument == "genre":
        from src.genre import command

        command()

    elif argument == "theme":
        from src.themes import command

        command()

    elif argument == "producer":
        from src.producers import command

        command()

    elif argument == "anime":
        from src.animes import command

        asyncio.run(command())
