Commit Graph

20 Commits (6440c839474f052d8997bb5cec19c2743e5108e6)

Author SHA1 Message Date
Martin Atkins ff0dbd6215 command/fmt: Restore some opinionated behaviors
5 years ago
Martin Atkins 7951a6db0d command/fmt: Format using the full hclwrite syntax tree
5 years ago
Martin Atkins 05f6a62399 command/fmt: Factor out the actual formatting
5 years ago
Alisdair McDiarmid 67203dade8 command: Simplify Meta.process helper method
6 years ago
Alisdair McDiarmid 206e2e6d6a command/fmt: Include source snippets in errors
6 years ago
Martin Atkins 39e609d5fd vendor: switch to HCL 2.0 in the HCL repository
6 years ago
Kristin Laemmert c9d62bb2f6
command: discard output from flags package and return errs directly (#22373)
7 years ago
Sander van Harmelen e81fafeefa Mention the -no-color option
7 years ago
Martin Atkins 176a5abfd3 command: Restore single-file support in "terraform fmt"
7 years ago
Martin Atkins b0a43cab84 command: "terraform fmt" must fail if file has invalid syntax
7 years ago
Sander van Harmelen ef9054562e commands: make sure the correct flagset is used
7 years ago
Martin Atkins dc7f793be9 command: terraform fmt to use new HCL formatter
7 years ago
Kyle McCullough ad896b65c9
command: add -check flag to fmt (#15304)
9 years ago
Robert Liebowitz 006744bfe0 Use all tfvars files in working directory
9 years ago
Dan Carley 64c1280951 command/fmt: Improve documentation for -diff and defaults (#6398)
10 years ago
Dan Carley 79e2753e41 command/fmt: Disable list/write when using STDIN
10 years ago
Dan Carley e9128769b5 command/fmt: Accept input from STDIN
10 years ago
Dan Carley 1b967e612f command/fmt: Accept optional directory argument
10 years ago
Dan Carley c753390399 command/fmt: Default write and list to true
10 years ago
Dan Carley cc41c7cfa0 command/fmt: Add new fmt command
10 years ago