clan_cli: refactor secrets code into Machine class

This commit is contained in:
lassulus
2023-10-04 15:32:04 +02:00
parent 1b9ea830c9
commit 01087e2da8
6 changed files with 157 additions and 144 deletions

View File

@@ -759,7 +759,7 @@ class HostGroup:
def parse_deployment_address(
machine_name: str, host: str, meta: dict[str, str] = {}
machine_name: str, host: str, meta: dict[str, Any] = {}
) -> Host:
parts = host.split("@")
user: Optional[str] = None