evcc-io/util/templates/proxy.tpl
Andreas Linde 4e119e8f6d
cli configure updates (#1966)
- 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
2021-12-02 14:31:31 +01:00

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 -}}