mirror of
https://github.com/thegeeklab/wp-plugin-go.git
synced 2024-11-23 16:50:39 +00:00
16 lines
397 B
Cheetah
16 lines
397 B
Cheetah
{{ with .Name }}# {{ . }}{{ end }}
|
|
{{- with .Description }}
|
|
|
|
{{ . | ToSentence }}
|
|
{{- end }}
|
|
{{- if .GlobalArgs }}
|
|
|
|
## Parameters
|
|
{{ range $v := .GlobalArgs }}
|
|
**_{{ $v.Name }}_**{{ with $v.Default }}{{ if $v.Required }} _required_{{ end }} (defaut: {{ . }}){{ end }}{{ if $v.Description }}{{ "\\" }}{{ end }}
|
|
{{- with $v.Description }}
|
|
 {{ . | ToSentence }}
|
|
{{- end }}
|
|
{{ end -}}
|
|
{{ end -}}
|