0
0
mirror of https://github.com/thegeeklab/wp-github-comment.git synced 2024-06-02 18:39:39 +02:00
wp-github-comment/cmd/wp-github-comment/templates/docs-data.yaml.tmpl

19 lines
378 B
Cheetah
Raw Normal View History

2024-01-03 22:49:33 +01: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: {{ . }}
2024-01-03 22:49:33 +01:00
{{- end }}
required: {{ default false $v.Required }}
{{ end -}}
{{ end -}}