{{ .Title }}
-Description | -{{ . }} - |
---|---|
Usage | -{{ . }} |
-
- Aliases - {{ partialCached "tooltip.html" "An alias is a short or memorable alternative for a longer command." "cli-alias" }} - | -
-
- {{ range (strings.Split $aliases ", ") }}
-
- {{ . }}
- {{ end }}
- |
-
Description | +{{ . }} + |
---|---|
Usage | +{{ . }} |
+
+ Aliases + {{ partialCached "tooltip.html" "An alias is a short or memorable alternative for a longer command." "cli-alias" }} + | +
+
+ {{ range (strings.Split $aliases ", ") }}
+
+ {{ . }}
+ {{ end }}
+ |
+
Option | -Default | -Description | -
---|
- {{ with .details_url }}
-
- {{ with $short }}-{{ . }}, {{end}}--{{ $long }}
-
- {{ else }}
- {{ with $short }}-{{ . }}, {{end}}--{{ $long }}
- {{ end }}
- |
- {{ $skipDefault := `[],map[],false,0,0s,default,'',""` }}
-
- {{ with .default_value }}
- {{ cond (in $skipDefault .) "" (printf "%s " . | safeHTML) }}
- {{ end }}
- |
-
- {{ with .min_api_version }}
- {{ partialCached "components/badge.html" (dict "color" "blue" "content" (printf "API %s+" .)) "api" . }}
- {{ end }}
- {{ with .deprecated }}
- {{ partialCached "components/badge.html" (dict "color" "red" "content" "Deprecated") "deprecated" }}
- {{ end }}
- {{ with .experimental }}
- {{ partialCached "components/badge.html" (dict "color" "amber" "content" "experimental (daemon)") "exp" }}
- {{ end }}
- {{ with .experimentalcli }}
- {{ partialCached "components/badge.html" (dict "color" "amber" "content" "experimental (CLI)") "exp-cli" }}
- {{ end }}
- {{ with .kubernetes }}
- {{ partialCached "components/badge.html" (dict "color" "blue" "content" "Kubernetes") "k8s" }}
- {{ end }}
- {{ with .swarm }}
- {{ partialCached "components/badge.html" (dict "color" "blue" "content" "Swarm") "swarm" }}
- {{ end }}
- {{ if .description }}
- {{/* replace newlines in long desc with break tags */}}
- {{ markdownify (strings.Replace .description "\n" " ") }} - {{ end }} - |
+ Option | +Default | +Description |
---|
{{ with $short }}-{{ . }}, {{end}}--{{ $long }}
+
+ {{ else }}
+ {{ with $short }}-{{ . }}, {{end}}--{{ $long }}
+ {{ end }}
+ %s
" . | safeHTML) }}
+ {{ end }}
+ ") }} + {{ end }} +