cli

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ColorReset  = "\033[0m"
	ColorRed    = "\033[31m"
	ColorGreen  = "\033[32m"
	ColorYellow = "\033[33m"
	ColorBlue   = "\033[34m"
	ColorPurple = "\033[35m"
	ColorCyan   = "\033[36m"
	ColorGray   = "\033[90m"
	ColorBold   = "\033[1m"
)
View Source
const (
	EmojiCheck   = "✅"
	EmojiCross   = "❌"
	EmojiWarning = "⚠️"
	EmojiInfo    = "ℹ️"
	EmojiRocket  = "🚀"
	EmojiFolder  = "📁"
	EmojiFile    = "📝"
	EmojiZap     = "⚡"
	EmojiSearch  = "🔍"
	EmojiPackage = "📦"
	EmojiCopy    = "📂"
	EmojiSparkle = "✨"
	EmojiGear    = "⚙️"
)

Variables

This section is empty.

Functions

func PrintDone

func PrintDone(format string, args ...interface{})

func PrintError

func PrintError(format string, args ...interface{})

func PrintFile

func PrintFile(path string)

func PrintHeader

func PrintHeader(title string)

func PrintInfo

func PrintInfo(format string, args ...interface{})

func PrintStep

func PrintStep(emoji, format string, args ...interface{})

func PrintSuccess

func PrintSuccess(format string, args ...interface{})

func PrintWarning

func PrintWarning(format string, args ...interface{})

Types

type Spinner

type Spinner struct {
	// contains filtered or unexported fields
}

func NewSpinner

func NewSpinner(message string) *Spinner

func (*Spinner) Start

func (s *Spinner) Start()

func (*Spinner) Stop

func (s *Spinner) Stop()

Jump to

Keyboard shortcuts

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