utils

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Logger io.Writer = io.Discard

Functions

func Log

func Log(msg string)

func MaybeExitWithError

func MaybeExitWithError(err error)

func Print

func Print(msg, custom string)

func PrintBold

func PrintBold(msg string)

func PrintError

func PrintError(errMsg string)

func PrintInfo

func PrintInfo(msg string)

func PrintSecondary

func PrintSecondary(msg string)

func PrintSuccess

func PrintSuccess(errMsg string)

func PrintWarning

func PrintWarning(msg string)

func PrompCustomHelp

func PrompCustomHelp(cmd *cobra.Command, args []string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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