Working config loading from TOML, env var, cli args

This commit is contained in:
3wc
2025-08-06 11:07:45 +01:00
parent 4fcf972e17
commit 69d471a859
4 changed files with 26 additions and 40 deletions

View File

@ -12,9 +12,7 @@ from .db import (
)
def sync(username, api_key) -> None:
api = KimaiAPI(username, api_key)
def sync(api) -> None:
KimaiCustomer.delete().execute()
KimaiProject.delete().execute()
KimaiActivity.delete().execute()