cmd

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2026 License: GPL-3.0 Imports: 37 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ConfigCmd = &cobra.Command{
	Use:     "config",
	Short:   "Manage configuration",
	GroupID: "project",
}

Functions

func Execute

func Execute()

Types

type MultiSpinnerUI added in v0.1.8

type MultiSpinnerUI interface {
	NewWriter() io.Writer
	Start()
	Stop()
}

MultiSpinnerUI provides multi-spinner support for refresh operations

func NewMultiSpinnerUI added in v0.1.8

func NewMultiSpinnerUI() MultiSpinnerUI

NewMultiSpinnerUI creates a multi-spinner UI based on terminal type

type Spinner added in v0.1.8

type Spinner interface {
	Update(text string)
	Success(text string)
	Fail(text string)
}

Spinner represents a progress indicator

type UI added in v0.1.8

type UI interface {
	Header(text string)
	Info(text string)
	Success(text string)
	Warning(text string)
	Error(text string)
	Spinner(text string) Spinner
	Section(title string)
	BulletList(items []string)
	Println()
	GetRefreshTracker(serviceName string) refresh.Tracker
	IsInteractive() bool
	StartRefresh()
	StopRefresh()
}

UI provides an abstraction for user interface output It supports both interactive (pterm) and non-interactive (plain text) modes

func NewUI added in v0.1.8

func NewUI() UI

NewUI creates a UI instance based on whether we're in an interactive terminal

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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