Versions in this module Expand all Collapse all v0 v0.0.3 Sep 4, 2021 Changes in this version + func Exit() v0.0.2 Jan 7, 2021 Changes in this version + func AskForConfirmation(message string, yesByDefault bool) bool + func ClearLine() + func FormatTime(rawSeconds int) string + func GetUserHome() string + func HideCursor() + func Pad(n, size int) string + func ShowCursor() v0.0.1 Dec 17, 2020 Changes in this version + const ColorBlue + const ColorBold + const ColorGreen + const ColorRed + const ColorReset + const ColorWhite + const ColorYellow + func AskFor(message string, validValues ...string) (string, error) + func AskForInt(message string) (int, error) + func ClearAfterCursor() + func ClearScreen() + func DownloadFile(fileURL, targetFilePath string) error + func EditLastLine() + func Fmt(format string, v ...interface{}) string + func HandleError(err error, message string) + func LoadDataFolder() string + func MoveCursorTo(line, column int) + func MoveCursorUp(lineCount int) + func OnSigTerm(callback SigCallback) + func PrintWithLoadIcon(message string, c chan bool, stepTime time.Duration, clearScreen bool) + func WaitForEnter(message string) error + type SigCallback func(sig *os.Signal)