feat(config): Config loading and merging

This commit is contained in:
2026-05-03 15:09:05 +02:00
parent 190fb86758
commit 7b1dfe6ebc
9 changed files with 176 additions and 37 deletions
+5 -5
View File
@@ -2,14 +2,14 @@ from typing import Optional, TypedDict
class ArchMgrPkgConfig(TypedDict):
individual: list[str]
repos: ArchMgrReposConfig
bundles: list[ArchMgrBundleConfig]
individual: Optional[list[str]]
repos: Optional[ArchMgrReposConfig]
bundles: Optional[list[ArchMgrBundleConfig]]
class ArchMgrReposConfig(TypedDict):
enabled_repos: list[ArchMgrRepoSettings]
reflector: ArchMgrReflectorConfig
enabled_repos: Optional[list[ArchMgrRepoSettings]]
reflector: Optional[ArchMgrReflectorConfig]
class ArchMgrReflectorConfig(TypedDict):