Add multi-account command ACL system

This commit is contained in:
Codex
2026-05-13 22:19:27 +02:00
commit 27b2760079
14 changed files with 1296 additions and 0 deletions

27
main.py Normal file
View File

@@ -0,0 +1,27 @@
from __future__ import annotations
import asyncio
import logging
from pathlib import Path
from app.config import load_app_config
from app.manager import AccountManager
def configure_logging() -> None:
logging.basicConfig(
level=logging.INFO,
format="%(asctime)s | %(levelname)s | %(name)s | %(message)s",
)
async def main() -> None:
root = Path(__file__).resolve().parent
config = load_app_config(root)
manager = AccountManager(config)
await manager.run()
if __name__ == "__main__":
configure_logging()
asyncio.run(main())