0
0
mirror of https://github.com/thegeeklab/woodpecker-plugins.git synced 2024-11-09 17:10:40 +00:00
woodpecker-plugins/templates/docs-data.yaml.tmpl

19 lines
378 B
Cheetah
Raw Normal View History

2024-05-03 19:50:56 +00:00
---
{{- if .GlobalArgs }}
properties:
{{- range $v := .GlobalArgs }}
- name: {{ $v.Name }}
{{- with $v.Description }}
description: |
{{ . | ToSentence }}
{{- end }}
{{- with $v.Type }}
type: {{ . }}
{{- end }}
{{- with $v.Default }}
defaultValue: {{ . }}
{{- end }}
required: {{ default false $v.Required }}
{{ end -}}
{{ end -}}