1
0
This commit is contained in:
Jeff Lance 2024-03-04 15:14:58 +01:00
parent f2f1149ea8
commit 6cbb866666

View File

@ -2,7 +2,7 @@
email = {{ promptString "Git main email address " "" | quote }} email = {{ promptString "Git main email address " "" | quote }}
{{- with promptInt "How many mbsync accounts would you generate " 0 -}}{{- $count := . | int -}} {{- with promptInt "How many mbsync accounts would you generate " 0 -}}{{- $count := . | int -}}
{{- if gt $count 0 -}} {{- if gt $count 0 -}}
mbsync = {{ $count | ternary true false }} mbsync = {{ ternary true false $count }}
{{- range $i, $e := until $count }} {{- range $i, $e := until $count }}
[[data.mbsync]] [[data.mbsync]]
name = {{ promptString "MbSync account name " | quote }} name = {{ promptString "MbSync account name " | quote }}