2024-03-04 11:58:06 +00:00
|
|
|
{{- $email := promptStringOnce . "email" "Email address " }}
|
|
|
|
{{- $mbsyncAccountNumber := promptIntOnce . "mbsyncAccountNumber" "How many mbsync accounts would you generate " }}
|
|
|
|
|
2024-03-04 12:02:15 +00:00
|
|
|
{{- if gt $mbsyncAccountNumber 0 }}
|
2024-03-04 11:58:06 +00:00
|
|
|
{{- range $i, $e := until $mbsyncAccountNumber -}}
|
|
|
|
{{- $mbsyncAccountName := promptStringOnce . "mbsync.name" "MbSync account name " }}
|
|
|
|
{{- $mbsyncAccountMail := promptStringOnce . "mbsync.mail" "MbSync account mail " }}
|
|
|
|
{{- $mbsyncAccountUser := promptStringOnce . "mbsync.user" "MbSync account user " }}
|
|
|
|
{{- $mbsyncAccountHost := promptStringOnce . "mbsync.host" "MbSync account host " }}
|
|
|
|
{{- end -}}
|
|
|
|
{{- end -}}
|
2024-03-04 11:46:01 +00:00
|
|
|
|
2024-03-03 22:00:32 +00:00
|
|
|
data:
|
2024-03-03 21:59:30 +00:00
|
|
|
email: {{ $email | quote }}
|
2024-03-04 11:46:01 +00:00
|
|
|
mbsyncAccountNumber: {{ $mbsyncAccountNumber }}
|
2024-03-03 22:06:26 +00:00
|
|
|
mbsync:
|
2024-03-03 22:23:40 +00:00
|
|
|
- name: "accountName"
|
|
|
|
email: "accountEmail"
|
|
|
|
username: "accountUserName"
|
|
|
|
server: "accountServer"
|