Files
archmgr/config/dtype/cmds.py
T

15 lines
296 B
Python

from typing import Optional, TypedDict
class ArchMgrCmdsConfig(TypedDict):
always: list[ArchMgrCommand]
once: list[ArchMgrCommand]
class ArchMgrCommand(TypedDict):
cmd: str
name: Optional[str]
capture_output: Optional[bool]
hook: Optional[str]
user: Optional[str]