cli

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2026 License: AGPL-3.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DetailKeyValue

func DetailKeyValue(key string, value string)

DetailKeyValue prints a styled detail key-value pair with indentation.

func Execute

func Execute()

Execute runs the CLI.

func Header(text string)

Header prints a styled command header.

func KeyValue

func KeyValue(key string, value string)

KeyValue prints a styled key-value pair.

func SectionHeader

func SectionHeader(text string)

SectionHeader prints a styled section header.

func StatusBadge

func StatusBadge(status string) string

StatusBadge returns a colored status string.

func Success

func Success(text string)

Success prints a styled success message.

Types

type CLIProgressReporter

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

CLIProgressReporter renders lifecycle events with colors, spinners, and timing.

func NewCLIProgressReporter

func NewCLIProgressReporter() *CLIProgressReporter

NewCLIProgressReporter creates a new CLI progress reporter.

func (*CLIProgressReporter) OnStep

func (r *CLIProgressReporter) OnStep(event domain.StepEvent)

Jump to

Keyboard shortcuts

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