1
0
This commit is contained in:
Jeff Lance 2024-03-04 13:14:49 +01:00
parent 043afe63b3
commit b95302a5b0

View File

@ -1,12 +1,11 @@
{{- $email := promptStringOnce . "email" "Email address " }} {{- $email := promptStringOnce . "email" "Email address " }}
{{- $mbsyncAccountNumber := promptIntOnce . "mbsyncAccountNumber" "How many mbsync accounts would you generate " }} {{- $mbsyncAccountNumber := promptIntOnce . "mbsyncAccountNumber" "How many mbsync accounts would you generate " }}
{{- $mbsyncAccountNumber = $mbsyncAccountNumber | int -}}
{{- if gt $mbsyncAccountNumber 0 -}} {{- if gt $mbsyncAccountNumber 0 -}}
{{- range $i, $e := until $mbsyncAccountNumber | int -}} {{- range $i, $e := until $mbsyncAccountNumber -}}
{{- $mbsyncAccountName := promptStringOnce . "mbsync" "MbSync account name " }} {{- $mbsyncAccountName := promptStringOnce . "mbsync" "MbSync account name " }}
{{- $mbsyncAccountMail := promptStringOnce . "mbsync" "MbSync account mail " }}
{{- $mbsyncAccountUser := promptStringOnce . "mbsync" "MbSync account user " }}
{{- $mbsyncAccountHost := promptStringOnce . "mbsync" "MbSync account host " }}
{{- end -}} {{- end -}}
{{- end -}} {{- end -}}