hclfmt

package
v0.73.0-alpha2025020401 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2025 License: MIT Imports: 19 Imported by: 4

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"

	DeprecatedHclfmtFileFlagName        = "hclfmt-file"
	DeprecatedHclfmtcExcludeDirFlagName = "hclfmt-exclude-dir"
	DeprecatedHclfmtStdinFlagName       = "hclfmt-stdin"
	DeprecatedCheckFlagName             = "check"
	DeprecatedDiffFlagName              = "diff"
)

Variables

This section is empty.

Functions

func NewCommand

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

func NewFlags

func NewFlags(opts *options.TerragruntOptions, prefix flags.Prefix) 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