hclfmt

package
v0.72.1-alpha2024011001 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 10, 2025 License: MIT Imports: 18 Imported by: 0

Documentation

Overview

Package hclfmt provides the hclfmt command for formatting HCL files.

Index

Constants

View Source
const (
	CommandName = "hclfmt"

	FileFlagName       = "file"
	ExcludeDirFlagName = "exclude-dir"
	CheckFlagName      = "check"
	DiffFlagName       = "diff"
	StdinFlagName      = "stdin"

	TerragruntHCLFmtFileFlagName       = flags.DeprecatedFlagNamePrefix + CommandName + "-file"
	TerragruntHCLFmtExcludeDirFlagName = flags.DeprecatedFlagNamePrefix + CommandName + "-exclude-dir"
	TerragruntHCLFmtStdinFlagName      = flags.DeprecatedFlagNamePrefix + CommandName + "-stdin"
)

Variables

This section is empty.

Functions

func NewCommand

func NewCommand(opts *options.TerragruntOptions) *cli.Command

func NewFlags

func NewFlags(opts *options.TerragruntOptions) cli.Flags

func Run

func Run(opts *options.TerragruntOptions) error

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL