{{ $useHeaderRow := .Get "header" }} {{ $csv := .Get "csv" }} {{ $file := readFile $csv }} {{ $rows := $file | transform.Unmarshal (dict "delimiter" ",") }} {{ if $useHeaderRow }} {{ $headerRow := index $rows 0 }} {{ $rows = after 1 $rows }} {{ end }} {{ range $row := $rows }} {{ end }}
Name Description HEX
{{ emojify (index $row 0) }} {{ index $row 1 }}
{{ index $row 2 }}