out

package
v0.2.4 Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2025 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package out provides the output formatting for the CLI

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Log

func Log(pretty string)

Log prints the data in the output format

func Print

func Print(data any, pretty string)

Print prints the data in the output format

func PrintError

func PrintError(err error)

PrintError prints an error stack trace

func SetOutput

func SetOutput(o string) error

SetOutput sets the output format for the CLI

func SetupTerminalLog

func SetupTerminalLog()

SetupTerminalLog sets up the terminal log

func StopTerminalLog

func StopTerminalLog()

StopTerminalLog stops the terminal log

func Table

func Table(data any, tableMaker func() []string)

Table prints a table of data

Types

This section is empty.

Jump to

Keyboard shortcuts

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