cmd

package
v0.3.4 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2025 License: MIT Imports: 29 Imported by: 0

Documentation

Index

Constants

View Source
const ConfigName = ".tp.toml"
View Source
const TpDir = "gh-tp"

Variables

View Source
var (
	Verbose bool
	Version string
	Date    string
	Commit  string
	BuiltBy string

	Logger *log.Logger
)

Functions

func Execute

func Execute()

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 ConfigFile added in v0.3.0

type ConfigFile struct {
	Name   string
	Path   string
	Params ConfigParams
}

type ConfigParams added in v0.3.0

type ConfigParams struct {
	Binary   string `` /* 167-byte string literal not displayed */
	PlanFile string `` /* 155-byte string literal not displayed */
	MdFile   string `` /* 172-byte string literal not displayed */
	Verbose  bool   `` /* 154-byte string literal not displayed */
}

type SyntaxHighlight

type SyntaxHighlight string
const (
	SyntaxHighlightTerraform SyntaxHighlight = "terraform"
)

Jump to

Keyboard shortcuts

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