mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-25 18:45:20 -06:00
Update website/docs/cli/commands/fmt.mdx
Co-authored-by: Laura Pacilio <83350965+laurapacilio@users.noreply.github.com>
This commit is contained in:
parent
7dd199cbd0
commit
26e770321f
@ -48,10 +48,7 @@ and the generated files.
|
||||
Usage: `terraform fmt [options] [TARGET]`
|
||||
|
||||
By default, `fmt` scans the current directory for configuration files. If
|
||||
a directory is provided for the `target` argument then it will scan that
|
||||
given directory instead. If `target` is a file then `fmt` will process just
|
||||
that file, and if a single dash (`-`) then `fmt` will read from standard input
|
||||
(STDIN).
|
||||
you provide a directory for the `target` argument, then `fmt` will scan that directory instead. If you provide a file, then `fmt` will process just that file. If you provide a single dash (`-`), then `fmt` will read from standard input (STDIN).
|
||||
|
||||
The command-line flags are all optional. The list of available flags are:
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user