Documentation
¶
Index ¶
- Variables
- func Divider()
- func EmailEvent(id, from, subject, otp, link string, timestamp string)
- func Error(msg string)
- func Header(title string)
- func Info(msg string)
- func IsSilent() bool
- func List(items []string)
- func MessageContent(data map[string]interface{})
- func Output(data interface{}) bool
- func PlanBadge(plan string) string
- func PlanGate(requiredPlan string, feature string)
- func PrintInlineLogo()
- func PrintLogo()
- func Step(n int, total int, msg string)
- func Success(msg string)
- func Table(rows []Row)
- func TableBadge(label, value string) string
- func Waiting(msg string)
- func Warn(msg string)
- type Row
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Output formatting flags globally accessible GlobalFormat string = "text" GlobalSilent bool = false )
Functions ¶
func EmailEvent ¶
func MessageContent ¶
func MessageContent(data map[string]interface{})
func Output ¶ added in v0.1.13
func Output(data interface{}) bool
Output Structured output for JSON or CSV formats. Returns true if output was handled (format was json or csv).
func PrintInlineLogo ¶
func PrintInlineLogo()
PrintInlineLogo prints a compact single-line logo for command headers
func TableBadge ¶
TableBadge returns a formatted string with a badge and value
Types ¶
Click to show internal directories.
Click to hide internal directories.