Versions in this module Expand all Collapse all v0 v0.0.6 Feb 16, 2022 Changes in this version + const TimeoutDefault + const WidthTermDefault + var OsStdin = os.Stdin + var OsStdout = os.Stdout + var SurveyAskOne = survey.AskOne + type TableStyle int + const AsCSVTable + const AsColoredTable + const AsDefaultTable + const AsHTMLTable + const AsMarkdownTable + const AsSimpleTable + type UI struct + ForceError bool + ForceFalse bool + ForceInt int + ForceString string + ForceTrue bool + MirrorIO io.Writer + Timeout int + func New() *UI + func (ui *UI) AskOne(prompt survey.Prompt, ansDefault string) (string, error) + func (ui *UI) Confirm(msg string) (isYes bool, err error) + func (ui *UI) DrawHR() + func (ui *UI) DrawTable(tblToWrite table.Writer, style TableStyle) + func (ui *UI) Select(msg string, selection []string, ansDefault string, helpMsg string) (string, error) + func (ui *UI) TermWidth() int