Skip to content

quoteList list

quoteList returns a list where each element is the corresponding element in list quoted.

Example

{{ $args := list "alpha" "beta" "gamma" }}
command {{ $args | quoteList }}
[section]
    array = [{{- $list | quoteList | join ", " -}}]