"""
Entry point voor `python -m elephate`
"""

# Suppress library deprecation warnings FIRST, before any imports
import warnings
import os

# Set environment variable to silence cryptography warnings
os.environ.setdefault("PYTHONWARNINGS", "ignore::DeprecationWarning")

# Multiple approaches to suppress the ARC4 deprecation warning
warnings.filterwarnings("ignore", category=DeprecationWarning)
warnings.filterwarnings("ignore", message=".*ARC4.*")
warnings.filterwarnings("ignore", module=".*pypdf.*")
warnings.filterwarnings("ignore", module=".*cryptography.*")

from .cli import app

if __name__ == "__main__":
    app()
