Documentation
¶
Index ¶
- func Bold(text string) string
- func Command(cmd string) string
- func Confirm(message string, defaultValue bool) (bool, error)
- func DiffAdded(key string)
- func DiffChanged(key string)
- func DiffKept(key string)
- func DiffRemoved(key string)
- func Dim(text string) string
- func Error(message string)
- func File(path string) string
- func Info(message string)
- func Intro(command string)
- func IsInteractive() bool
- func Link(url string) string
- func Message(message string)
- func Outro(message string)
- func Password(message string) (string, error)
- func Select(message string, options []string) (string, error)
- func Spin(message string, fn func() error) error
- func Step(message string)
- func Success(message string)
- func Value(v interface{}) string
- func Warn(message string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DiffChanged ¶
func DiffChanged(key string)
DiffChanged displays a variable that will be updated
func DiffKept ¶
func DiffKept(key string)
DiffKept displays a variable that will be kept (local only)
func DiffRemoved ¶
func DiffRemoved(key string)
DiffRemoved displays a variable that will be removed
func IsInteractive ¶
func IsInteractive() bool
IsInteractive returns true if running in an interactive terminal
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.