cli

package
v0.6.5 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Bold = color.New(color.Bold).SprintFunc()
View Source
var BoldGreen = color.New(color.Bold, color.FgGreen).FprintlnFunc()
View Source
var BoldGreenf = color.New(color.Bold, color.FgGreen).FprintfFunc()
View Source
var BoldYellow = color.New(color.Bold, color.FgYellow).FprintlnFunc()
View Source
var BoldYellowf = color.New(color.Bold, color.FgYellow).FprintfFunc()

Functions

func AskDataStoreType added in v0.6.1

func AskDataStoreType(resource string) string

DataStoreType prompts the user to select a number for a Data Store type and returns the corresponding TF resource name. 1 for Config Store, 2 for Secret Store, and 3 for KV Store. It keeps prompting if the input is invalid.

func CreateLogFilter

func CreateLogFilter() io.Writer

func YesNo

func YesNo(message string) bool

Types

type Config

type Config struct {
	ID                string
	ResourceName      string
	WafID             string
	Package           string
	Directory         string
	Version           int
	Interactive       bool
	ManageAll         bool
	ForceDestroy      bool
	SkipEditState     bool
	TestMode          bool
	ReplaceDictionary bool
}

Jump to

Keyboard shortcuts

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