"""Entry point for running seeds.

Usage:
    python -m app.seeds           # Run seed
    python -m app.seeds --verify  # Run seed + verification
"""

import asyncio
import sys

from app.core.database import engine
from app.seeds.run import seed, verify


async def main():
    verbose = "--verbose" in sys.argv or "-v" in sys.argv
    engine.echo = verbose
    await seed()
    if "--verify" in sys.argv:
        await verify()


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