cmd

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2024 License: MPL-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DiffCommandFactory

func DiffCommandFactory(ui cli.Ui) cli.CommandFactory

func UpdateCommandFactory

func UpdateCommandFactory(ui cli.Ui) cli.CommandFactory

Types

type Flags

type Flags struct {
	// The relative or absolute path to the directory that contains the golden
	// files.
	GoldenFilesDirectory string

	// The relative or absolute path to the directory that contains the test
	// files and specifications.
	TestingFilesDirectory string

	// The relative or absolute path to the target Terraform binary.
	TerraformBinaryPath string

	// If empty, then all tests will be executed. If not empty, only tests
	// included in this flag will be executed.
	TestFilters StringList
}

Flags is a helpful struct that contains the global flags for the equivalence test binary.

func ParseFlags

func ParseFlags(command string, args []string) (*Flags, error)

type StringList added in v0.2.0

type StringList []string

StringList is a slice of strings that satisfies the interface for a flags.Value.

func (*StringList) Set added in v0.2.0

func (stringlist *StringList) Set(s string) error

func (*StringList) String added in v0.2.0

func (stringlist *StringList) String() string

Jump to

Keyboard shortcuts

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