configure

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CLIVariables

type CLIVariables struct {
	Variables   []cmdOption
	Responses   map[string]string
	ServiceFile string
	ConfigFile  string
}

func NewPrompter

func NewPrompter(flags *pflag.FlagSet, configFile, serviceFilePath string) (*CLIVariables, error)

func (*CLIVariables) PromptUser

func (p *CLIVariables) PromptUser() error

func (*CLIVariables) WriteOutTemplate

func (p *CLIVariables) WriteOutTemplate(file string, data interface{}) error

Jump to

Keyboard shortcuts

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