1
0
This commit is contained in:
Jeff Lance 2024-03-04 13:21:16 +01:00
parent d40ba6a64f
commit f25d8b67cc

View File

@ -3,17 +3,16 @@
{{- $mbsyncAccountNumber = $mbsyncAccountNumber | int -}}
{{- if gt $mbsyncAccountNumber 0 -}}
{{- range $i, $e := until $mbsyncAccountNumber -}}
{{- $mbsyncAccountName := promptString "MbSync account name " }}
{{- end -}}
{{- end -}}
data:
email: {{ $email | quote }}
mbsyncAccountNumber: {{ $mbsyncAccountNumber }}
{{- if gt $mbsyncAccountNumber 0 -}}
mbsync:
- name: {{ $mbsyncAccountName }}
{{- range $i, $e := until $mbsyncAccountNumber -}}
- name: {{ $mbsyncAccountName := promptString "MbSync account name " }}
email: "accountEmail"
username: "accountUserName"
server: "accountServer"
{{- end -}}
{{- end -}}