{{- template "results" .Results -}} {{- define "results" }}
{{- with . }} {{- range .Results }}
{{ .Option }}

{{ markdown .Description }}

{{- with .Type }}
Type
{{ . }}
{{- end }} {{- with .Default }} {{- if or .Text .Markdown }}
Default
{{- if .Markdown }} {{ markdown .Markdown }} {{- else }}
{{ .Text }}
{{- end }}
{{- end }} {{- end }} {{- with .Example }} {{- if or .Text .Markdown }}
Example
{{- if .Markdown }} {{ markdown .Markdown }} {{- else }}
{{ .Text }}
{{- end }}
{{- end }} {{- end }} {{- with .RelatedPackages }}
Related Packages
{{ . }}
{{- end }} {{- with .Declarations }}
Declared
{{- range . }}
{{ .Name }}
{{- end }} {{- end }}
{{- else }} Nothing found {{- end }} {{- end }}
{{- end }}