2023-12-21 09:13:00 +01:00
|
|
|
{{ with .Name }}# {{ . }}{{ end }}
|
|
|
|
{{- with .Description }}
|
|
|
|
|
2024-01-02 22:21:53 +01:00
|
|
|
{{ . | ToSentence }}
|
2023-12-21 09:13:00 +01:00
|
|
|
{{- end }}
|
|
|
|
{{- if .GlobalArgs }}
|
|
|
|
|
|
|
|
## Parameters
|
|
|
|
{{ range $v := .GlobalArgs }}
|
2024-01-01 17:54:09 +01:00
|
|
|
**_{{ $v.Name }}_**{{ with $v.Default }}{{ if $v.Required }} _required_{{ end }} (defaut: {{ . }}){{ end }}{{ if $v.Description }}{{ "\\" }}{{ end }}
|
2023-12-21 09:13:00 +01:00
|
|
|
{{- with $v.Description }}
|
2024-01-02 22:21:53 +01:00
|
|
|
 {{ . | ToSentence }}
|
2023-12-21 09:13:00 +01:00
|
|
|
{{- end }}
|
|
|
|
{{ end -}}
|
|
|
|
{{ end -}}
|