Documentation
¶
Index ¶
- func FormatCmdExamples(cmd string, examples []CmdExample) (res string)
- func PrintError(format string, a ...any)
- func PrintInfo(format string, a ...any)
- func PrintSuccess(format string, a ...any)
- func PrintTabbedLines(lines []TabLine)
- func PrintTable(header []string, rows [][]interface{})
- type CmdExample
- type TabLine
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FormatCmdExamples ¶ added in v1.19.0
func FormatCmdExamples(cmd string, examples []CmdExample) (res string)
func PrintError ¶ added in v1.19.0
func PrintSuccess ¶ added in v1.19.0
func PrintTabbedLines ¶
func PrintTabbedLines(lines []TabLine)
func PrintTable ¶
func PrintTable(header []string, rows [][]interface{})
Types ¶
type CmdExample ¶ added in v1.19.0
Click to show internal directories.
Click to hide internal directories.