output

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FmtHuman outputFormat = "human"
	FmtJSON  outputFormat = "json"
	FmtCSV   outputFormat = "csv"
)

Variables

This section is empty.

Functions

func Format

func Format(cmd *cobra.Command) outputFormat

func FormatOption

func FormatOption(cmd *cobra.Command)

func IsJSON

func IsJSON() bool

func Print

func Print(data any)

func Table

func Table(lines [][]string, format outputFormat)

Types

This section is empty.

Jump to

Keyboard shortcuts

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