cmd

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2021 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (

	// File holds location for variable file
	File string
	// Output hold the output formatting.
	Output string

	// Bold is used to print text output as bold text
	Bold = color.New(color.Bold)
)

Functions

func Execute

func Execute(v Version)

Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.

Types

type HashiCorp

type HashiCorp struct {
	// {"variable": []}
	Variable interface{} `json:"variable"`
	// {"output": []}
	Output interface{} `json:"output"`
	// {"resource": []}
	Resource interface{} `json:"resource"`
	// {"data": []}
	Data interface{} `json:"data"`
}

HashiCorp Configuration Language struct

type TableVariable

type TableVariable struct {
	Name        string      `json:"name"`
	Type        string      `json:"type"`
	Default     interface{} `json:"default"`
	Description string      `json:"description"`
}

TableVariable is

type Version

type Version struct {
	Date    string
	Version string
	Commit  string
}

Version holds information regarding tool version

Jump to

Keyboard shortcuts

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