clan-cli: Replace HostGroup and MachineGroup with generic AsyncRuntime class. Propagate cmd prefix over thread local. Close threads on CTRL+C

This commit is contained in:
Qubasa
2024-12-09 18:07:23 +01:00
parent f30e9fed9b
commit 65a5789c5b
18 changed files with 549 additions and 436 deletions

View File

@@ -488,7 +488,8 @@ def generate_vars(
raise ClanError(msg) from errors[0][1]
if not was_regenerated and len(machines) > 0:
log.info("All vars are already up to date")
for machine in machines:
machine.info("All vars are already up to date")
return was_regenerated