feat(mise): Generate toolbox conf.d files dynamically from tools.yaml #1
@@ -2,6 +2,8 @@
|
|||||||
{{/* Expects data: (merge (dict "toolboxName" "<name>") .) */}}
|
{{/* Expects data: (merge (dict "toolboxName" "<name>") .) */}}
|
||||||
{{- $toolboxName := .toolboxName -}}
|
{{- $toolboxName := .toolboxName -}}
|
||||||
{{ includeTemplate "chezmoi-managed-header" . }}
|
{{ includeTemplate "chezmoi-managed-header" . }}
|
||||||
|
# Toolbox: {{ $toolboxName }}
|
||||||
|
|
||||||
[tools]
|
[tools]
|
||||||
{{- $toolsList := index .tools.toolboxes $toolboxName }}
|
{{- $toolsList := index .tools.toolboxes $toolboxName }}
|
||||||
{{- range $tool := $toolsList }}
|
{{- range $tool := $toolsList }}
|
||||||
|
|||||||
Reference in New Issue
Block a user