1
0
This commit is contained in:
Jeff Lance 2024-03-04 15:20:02 +01:00
parent b76ea33826
commit 2e4fe1af67

View File

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