Documentation ¶
Index ¶
- func Confirm(text string) bool
- func ConfirmWithDefault(text string, defaultValue bool) bool
- func Prompt(text string) string
- func PromptCached(text, key string) string
- func PromptSecret(text string) string
- func PromptSecretCached(text, key string) string
- func PromptWithChoice(name string, choices []string) (int, error)
- func PromptWithMultiChoice(name string, choices []string) ([]int, error)
- func Run(cmd string) ([]byte, error)
- func RunInDir(cmd, dir string) ([]byte, error)
- func RunInteractive(cmd string) error
- func RunInteractiveInDir(cmd, dir string) error
- func RunWithInput(cmd string, input []byte) ([]byte, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConfirmWithDefault ¶
func PromptWithChoice ¶
PromptWithChoice ...
func PromptWithMultiChoice ¶
PromptWithMultiChoice ...
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.