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 -}} {{- $mbsyncAccountNumber = $mbsyncAccountNumber | int -}}
{{- if gt $mbsyncAccountNumber 0 -}}
{{- range $i, $e := until $mbsyncAccountNumber -}}
{{- $mbsyncAccountName := promptString "MbSync account name " }}
{{- end -}}
{{- end -}}
data: data:
email: {{ $email | quote }} email: {{ $email | quote }}
mbsyncAccountNumber: {{ $mbsyncAccountNumber }} mbsyncAccountNumber: {{ $mbsyncAccountNumber }}
{{- if gt $mbsyncAccountNumber 0 -}}
mbsync: mbsync:
- name: {{ $mbsyncAccountName }} {{- range $i, $e := until $mbsyncAccountNumber -}}
- name: {{ $mbsyncAccountName := promptString "MbSync account name " }}
email: "accountEmail" email: "accountEmail"
username: "accountUserName" username: "accountUserName"
server: "accountServer" server: "accountServer"
{{- end -}}
{{- end -}}