feat(typing): More types, cleaner structure
This commit is contained in:
@@ -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]
|
||||
Reference in New Issue
Block a user