Documentation ¶
Overview ¶
Package hclvalidate provides the `hclvalidate` command for Terragrunt.
`hclvalidate` command recursively looks for hcl files in the directory tree starting at workingDir, and validates them based on the language style guides provided by Hashicorp. This is done using the official hcl2 library.
Index ¶
Constants ¶
View Source
const ( CommandName = "hclvalidate" ShowConfigPathFlagName = "show-config-path" JSONFlagName = "json" TerragruntHclvalidateShowConfigPathFlagName = flags.DeprecatedFlagNamePrefix + CommandName + "-show-config-path" TerragruntHclvalidateJSONFlagName = flags.DeprecatedFlagNamePrefix + CommandName + "-json" )
Variables ¶
This section is empty.
Functions ¶
func NewCommand ¶
func NewCommand(generalOpts *options.TerragruntOptions) *cli.Command
Types ¶
type Options ¶
type Options struct { *options.TerragruntOptions ShowConfigPath bool JSONOutput bool }
func NewOptions ¶
func NewOptions(general *options.TerragruntOptions) *Options
Click to show internal directories.
Click to hide internal directories.