vars: move generation functions to clan_lib

This commit is contained in:
DavHau
2025-08-19 18:05:12 +07:00
parent 9ce563aa08
commit 815c6c9438
19 changed files with 189 additions and 185 deletions

View File

@@ -36,7 +36,7 @@ def vars_status(
# signals if a var needs to be updated (eg. needs re-encryption due to new users added)
unfixed_secret_vars = []
invalid_generators = []
from clan_cli.vars.generate import Generator
from clan_cli.vars.generator import Generator
generators = Generator.get_machine_generators(machine.name, machine.flake)
if generator_name: