2024-03-04 13:30:21 +01:00
|
|
|
[data]
|
2024-03-04 14:21:42 +01:00
|
|
|
email = {{ promptString "Git main email address " "" | quote }}
|
2024-03-04 14:35:01 +01:00
|
|
|
{{- with promptInt "How many mbsync accounts would you generate " 0 -}}{{- $count := . | int -}}
|
|
|
|
{{- if gt $count 0 -}}
|
2024-03-04 15:14:58 +01:00
|
|
|
mbsync = {{ ternary true false $count }}
|
2024-03-04 14:35:01 +01:00
|
|
|
{{- range $i, $e := until $count }}
|
2024-03-04 13:30:21 +01:00
|
|
|
[[data.mbsync]]
|
2024-03-04 14:14:10 +01:00
|
|
|
name = {{ promptString "MbSync account name " | quote }}
|
|
|
|
mail = {{ promptString "MbSync account mail " | quote }}
|
|
|
|
user = {{ promptString "MbSync account user " | quote }}
|
2024-03-04 14:11:35 +01:00
|
|
|
host = {{ promptString "MbSync account host " | quote }}
|
2024-03-04 13:55:46 +01:00
|
|
|
{{- end }}
|
|
|
|
{{- end }}
|
2024-03-04 14:01:37 +01:00
|
|
|
{{- end }}
|