[feat] add prompt tip

This commit is contained in:
jay 2023-02-26 00:23:23 +08:00
parent d337afb250
commit 2c9f2134cf

View File

@ -12,12 +12,12 @@
{{- $gitUser = promptString "gitUser" -}} {{- $gitUser = promptString "gitUser" -}}
{{- end -}} {{- end -}}
{{- $jsLinter := promptString "jsLinter" -}} {{- $jsLinter := promptString "jsLinter" "js linter standard,eslint" -}}
{{- if eq $jsLinter "" -}} {{- if eq $jsLinter "" -}}
{{- $jsLinter = "standard" -}} {{- $jsLinter = "standard" -}}
{{- end -}} {{- end -}}
{{- $jsFixer := promptString "jsFixer" -}} {{- $jsFixer := promptString "jsFixer" "js fixer standard,prettier" -}}
{{- if eq $jsFixer "" -}} {{- if eq $jsFixer "" -}}
{{- $jsFixer = "standard" -}} {{- $jsFixer = "standard" -}}
{{- end -}} {{- end -}}