---
name: fmt
path: hcl/fmt
category: configuration
sidebar:
  order: 900
description: Recursively find HashiCorp Configuration Language (HCL) files and rewrite them into a canonical format.
usage: |
   Recursively find HashiCorp Configuration Language (HCL) files and rewrite them into a canonical format.
examples:
  - description: Recursively format all HCL files in the current directory.
    code: |
      terragrunt hcl fmt
flags:
  - hcl-fmt-check
  - hcl-fmt-diff
  - hcl-fmt-exclude-dir
  - hcl-fmt-file
  - hcl-fmt-stdin
---
