Merge pull request 'Chore(templates): move helper functions into a util file' (#3930) from hsjobeki/utils into main

Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3930
This commit is contained in:
hsjobeki
2025-06-10 17:52:44 +00:00
5 changed files with 43 additions and 35 deletions

View File

@@ -16,9 +16,9 @@ from clan_lib.persist.util import set_value_by_path
from clan_lib.templates import (
InputPrio,
TemplateName,
copy_from_nixstore,
get_template,
)
from clan_lib.templates.filesystem import copy_from_nixstore
from clan_cli.completions import add_dynamic_completer, complete_tags
from clan_cli.machines.list import list_full_machines

View File

@@ -15,11 +15,11 @@ from clan_lib.templates import (
ClanExports,
InputName,
TemplateName,
copy_from_nixstore,
get_clan_nix_attrset,
get_template,
list_templates,
)
from clan_lib.templates.filesystem import copy_from_nixstore
# Function to write clan attributes to a file