The hclfmt
command as a service. Use Online.
Module github.com/shoenig/hclfmt-web
provides a web server for applying
the hclfmt
command on input and returning the results.
The hclfmt-web
package can be installed by running
$ go install github.com/shoenig/hclfmt-web@latest
$ hclfmt-web -config hack/example.hcl
See example.hcl for an example configuration file.
The github.com/shoenig/hclfmt-web
module is always improving with new features
and error corrections. For contributing bug fixes and new features please file an issue.
The github.com/shoenig/hclfmt-web
module is open source under the BSD-3-Clause license.