Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Commands map[string]cli.CommandFactory
Functions ¶
func HelpFunc ¶
func HelpFunc(commands map[string]cli.CommandFactory) string
helpFunc is a cli.HelpFunc that can be used to output the help CLI instructions for Terraform.
func InitCommands ¶
func InitCommands( workingDir string, )
Types ¶
type ValidateCommand ¶
type ValidateCommand struct {
Meta
// Path is the relative or absolute path to the factory configuration file
Path string
// Recursive is a flag that indicates whether to recursively validate all
// subdirectories.
Recursive bool
}
ValidateCommand is a Command implementation that validates factory files.
func (*ValidateCommand) Run ¶
func (c *ValidateCommand) Run(rawArgs []string) int
Run executes the validate command and returns an exit code.
func (*ValidateCommand) Synopsis ¶
func (*ValidateCommand) Synopsis() string
Click to show internal directories.
Click to hide internal directories.