{{ $cli := site.Data.docs.cli }}
The root command (no subcommand) starts Vector.
{{ .title }} | Required | Description | Type | Default |
---|---|---|---|---|
{{ $k }}
|
{{ $v.required }} | {{ $v.description | markdownify }} | {{ $v.type }} |
{{ with $v.default }}
{{ . }}
{{ else }}
none
{{ end }}
|
{{ .title }} | Description | Environment variable | Default | |||||
---|---|---|---|---|---|---|---|---|
{{- .flag -}}
{{ if $comma }}, {{ end }} {{ with .short }} {{ . }} {{ end }} |
{{ end }}
{{ if .option }}
{{ $id := substr .option 2 }}
{{ $href := printf "%s-%s" $cmd $id }}
{{ $comma := and .option .short }}
{{- .option -}}
{{ if $comma }}, {{ end }} {{ with .short }} {{ . }} {{ end }} |
{{ end }}
{{ .description | markdownify }}
{{ with .enum }}
Enum options
{{ end }}
|
{{ with .env_var }}
{{ . }}
{{ end }}
|
{{ .default }}
|