commands

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: May 23, 2025 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetFlags

func GetFlags() []cli.Flag

GetFlags returns the flags for the tfsort command.

func TfsortAction

func TfsortAction(ctx context.Context, cmd *cli.Command) error

TfsortAction defines the core action for the tfsort command. v3 signature: func(context.Context, *cli.Command) error

Types

type InputSource

type InputSource struct {
	Path    string // File path or "<stdin>"
	Content []byte
}

InputSource represents a single source of HCL content (file or stdin)

Jump to

Keyboard shortcuts

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