- Add `--advanced` mode, where params defined as `advanced: true` will be asked - Add support for handling user input for lists, e.g. `identifiers` - Bool values are now a No/Yes selection instead of text input - Common definitions (params and render) are moved into single `parambaselist.yaml` file - Some refactoring
15 lines
328 B
Smarty
15 lines
328 B
Smarty
type: template
|
|
template: {{ .Template }}
|
|
{{- if .Description }}
|
|
description: {{ .Description }}
|
|
{{- end }}
|
|
{{ range .Params -}}
|
|
{{ .Name }}:
|
|
{{- if len .Value }} {{ .Value }} {{ end }}
|
|
{{- if .Help.DE }} # {{ .Help.DE }} {{- end }}
|
|
{{- if ne (len .Values) 0 }}
|
|
{{- range .Values }}
|
|
- {{ . }}
|
|
{{- end }}
|
|
{{- end }}
|
|
{{ end -}}
|