cli

package
v0.0.24 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PromptNoneOfTheseOption = "None of these (create a new one)"
)

Variables

This section is empty.

Functions

func Execute

func Execute(command string, args []string, statusMessage string) error

func ExecuteWithResult

func ExecuteWithResult(command string, args []string, statusMessage string) ([]byte, error)

func PromptForKeyValue

func PromptForKeyValue(label string, values map[string]string) (string, string, error)

func PromptForString

func PromptForString(label string) (string, error)

func PromptForValue

func PromptForValue(label string, values map[string]string, addNoneOfThese bool) (string, error)

func PromptToConfirm

func PromptToConfirm(label string) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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