terraform-fmt
v1.0.2
Published
[](https://www.npmjs.com/package/terraform-fmt) [](http://opensource.org/licenses/MIT)
Downloads
2,214
Maintainers
Readme
terraform-fmt
This library makes it possible to run terraform fmt
command for a list of files with the help of Node.js.
Motivation
A variation of this library needs to be developed every single time a developer wants to automatically apply formatting to a group of files (e.g. on git commit hook).
Installation
npm install terraform-fmt
Usage
terraform-fmt file1 file2 ... fileN