45 lines
1.0 KiB
Cheetah
45 lines
1.0 KiB
Cheetah
{{- $email := "" -}}
|
|
{{- if hasKey . "email" -}}
|
|
{{- $email = .email -}}
|
|
{{- else -}}
|
|
{{- $email = promptString "email" -}}
|
|
{{ end }}
|
|
|
|
{{- $gitUser := "" -}}
|
|
{{- if hasKey . "gitUser" -}}
|
|
{{- $gitUser = .gitUser -}}
|
|
{{- else -}}
|
|
{{- $gitUser = promptString "gitUser" -}}
|
|
{{- end -}}
|
|
|
|
{{- $jsLinter := promptString "jsLinter" "standard" -}}
|
|
{{- if eq $jsLinter "" -}}
|
|
{{- $jsLinter = "standard" -}}
|
|
{{- end -}}
|
|
|
|
{{- $jsFixer := promptString "jsFixer" "standard" -}}
|
|
{{- if eq $jsFixer "" -}}
|
|
{{- $jsFixer = "standard" -}}
|
|
{{- end -}}
|
|
|
|
{{- $installGo := promptBool "installGo" true -}}
|
|
{{- $installNode := promptBool "installNode" true -}}
|
|
{{- $installRust := promptBool "installRust" true -}}
|
|
{{- $enableTmux := promptBool "enableTmux" true -}}
|
|
|
|
[data.shell]
|
|
tmux = {{ $enableTmux }}
|
|
|
|
[data.gitconfig]
|
|
email = {{ $email | quote }}
|
|
username = {{ $gitUser | quote }}
|
|
|
|
[data.nvim]
|
|
js_linter = {{ $jsLinter | quote }}
|
|
js_fixer = {{ $jsFixer | quote }}
|
|
|
|
[data.dev]
|
|
golang = {{ $installGo }}
|
|
nodejs = {{ $installNode }}
|
|
rust = {{ $installRust }}
|