feat(typing): More types, cleaner structure

This commit is contained in:
2026-04-30 14:12:35 +02:00
parent 31426c006b
commit f9e6120910
8 changed files with 95 additions and 57 deletions
+14
View File
@@ -0,0 +1,14 @@
from typing import Optional, TypedDict
class ArchMgrCmdsConfig(TypedDict):
always: ArchMgrCommand
once: ArchMgrCommand
class ArchMgrCommand(TypedDict):
cmd: str
name: Optional[str]
capture_output: Optional[bool]
hook: Optional[str]
user: Optional[str]