helper

package
v1.45.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 23, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

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 PrintError(format string, a ...any)

func PrintInfo added in v1.19.0

func PrintInfo(format string, a ...any)

func PrintSuccess added in v1.19.0

func PrintSuccess(format string, a ...any)

func PrintTabbedLines

func PrintTabbedLines(lines []TabLine)

func PrintTable

func PrintTable(header []string, rows [][]interface{})

Types

type CmdExample added in v1.19.0

type CmdExample struct {
	Cmd         string
	Description string
}

type TabLine

type TabLine struct {
	Key   string
	Value interface{}
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL