2024-03-04 12:53:17 +00:00
|
|
|
{{- $email := promptString "Git main email address " ""}}
|
2024-03-04 13:02:28 +00:00
|
|
|
{{- with promptInt "How many mbsync accounts would you generate " 0 }}{{ $mbsyncAccountNumber := . | int }}
|
2024-03-04 12:30:21 +00:00
|
|
|
|
|
|
|
[data]
|
|
|
|
email = {{ $email | quote }}
|
2024-03-04 13:12:11 +00:00
|
|
|
{{ if gt $mbsyncAccountNumber 0 }}
|
|
|
|
{{ range $i, $e := until $mbsyncAccountNumber }}
|
2024-03-04 12:30:21 +00:00
|
|
|
[[data.mbsync]]
|
2024-03-04 13:04:39 +00:00
|
|
|
name = {{ promptString "MbSync account name " }}
|
2024-03-04 13:07:15 +00:00
|
|
|
mail = {{ promptString "MbSync account mail " }}
|
|
|
|
user = {{ promptString "MbSync account user " }}
|
2024-03-04 13:11:35 +00:00
|
|
|
host = {{ promptString "MbSync account host " | quote }}
|
2024-03-04 12:55:46 +00:00
|
|
|
{{- end }}
|
|
|
|
{{- end }}
|
2024-03-04 13:01:37 +00:00
|
|
|
{{- end }}
|