16 lines
572 B
Cheetah
16 lines
572 B
Cheetah
{{- $email := promptString "Git main email address " "" -}}
|
|
|
|
[data]
|
|
email = {{ $email | quote }}
|
|
{{- with promptInt "How many mbsync accounts would you generate " 0 -}}{{- $mbsyncAccountNumber := . | int -}}
|
|
{{- if gt $mbsyncAccountNumber 0 -}}
|
|
{{- range $i, $e := until $mbsyncAccountNumber }}
|
|
[[data.mbsync]]
|
|
name = {{ promptString "MbSync account name " | quote }}
|
|
mail = {{ promptString "MbSync account mail " | quote }}
|
|
user = {{ promptString "MbSync account user " | quote }}
|
|
host = {{ promptString "MbSync account host " | quote }}
|
|
{{- end }}
|
|
{{- end }}
|
|
{{- end }}
|