hclq icon indicating copy to clipboard operation
hclq copied to clipboard

When hclq write file, preserve terraform fmt

Open sebglon opened this issue 5 years ago • 1 comments

Is it possible to apply terraform fmt on writed file?

sebglon avatar Jul 04 '19 07:07 sebglon

for example: https://github.com/hashicorp/hcl/blob/master/hcl/fmtcmd/fmtcmd.go

This not format output: https://github.com/mattolenik/hclq/blob/021a8cc8f33d5be12219953a5c54658994f278de/cmd/set.go#L159

sebglon avatar Jul 04 '19 07:07 sebglon