Documentation ¶
Index ¶
- Variables
- func AnsiCode(code string) string
- func BoxPromptBool(title string, message string) bool
- func BoxPromptString(title string, message string) string
- func Delta(message string)
- func ErrorLine(message string)
- func HR()
- func Information(message string)
- func Notice(message string)
- func PrintAnsi(templ string, data interface{})
- func Prompt(message string)
- func PromptBool(message string) bool
- func PromptInt(message string, max int) int
- func PromptPassword(message string) string
- func PromptString(message string) string
- func Response(message string)
- func ShowErrorMessage(title string, message string)
Constants ¶
This section is empty.
Variables ¶
View Source
var BoxPromptTemplate = `` /* 303-byte string literal not displayed */
View Source
var DeltaTemplate = `
{{ ansi "fgwhite"}}△{{ ansi ""}}{{.}}
`
View Source
var ErrorLineTemplate = `
{{ ansi "fgred"}}☠{{ ansi ""}}{{.}}
`
View Source
var ErrorMessageTemplate = `` /* 298-byte string literal not displayed */
View Source
var HRTemplate = `
{{ ansi "fgcyan"}}{{.}}{{ ansi ""}}
`
View Source
var InformationTemplate = `
{{ ansi "fgcyan"}}✓{{ ansi ""}}{{.}}
`
View Source
var NoticeTemplate = `
{{ ansi "fgmagenta"}}▶{{ ansi ""}}{{.}}
`
View Source
var PromptTemplate = `
{{ ansi "fgwhite"}}◀{{ ansi ""}}{{.}}
`
View Source
var ResponseTemplate = `
{{ ansi "fgwhite"}}▶{{ ansi ""}}{{.}}
`
Functions ¶
func BoxPromptString ¶
Input Prompt String
func Information ¶
func Information(message string)
func PromptBool ¶
func PromptPassword ¶
func PromptString ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.