Open
Description
Please describe your feature request.
HCL is a JSON superset and has a Go library provided by the creator of the format - HashiCorp
Describe the solution you'd like
Adding an hcl
and h
types in the -p/--input-format
and -o/--output-format
options.
Describe alternatives you've considered
I've considered using yj to convert from HCL to JSON, apply jq, and then use yj
again to convert JSON back to HCL, but it would be nice if yq
supports HCL natively.
Additional context
N/A