user_interface

package
v1.1303.0 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package user_interface implements the user interface functionality

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LsUserInterface

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

func NewLsUserInterface

func NewLsUserInterface(opts ...LsUserInterfaceOption) *LsUserInterface

func (LsUserInterface) Input

func (l LsUserInterface) Input(_ string) (string, error)

func (LsUserInterface) NewProgressBar

func (l LsUserInterface) NewProgressBar() ui.ProgressBar

func (LsUserInterface) Output

func (l LsUserInterface) Output(output string) error

func (LsUserInterface) OutputError

func (l LsUserInterface) OutputError(err error, _ ...ui.Opts) error

func (LsUserInterface) SelectOptions

func (l LsUserInterface) SelectOptions(_ string, _ []string) (int, string, error)

type LsUserInterfaceOption

type LsUserInterfaceOption func(*LsUserInterface)

func WithLogger

func WithLogger(logger *zerolog.Logger) LsUserInterfaceOption

func WithProgressBar

func WithProgressBar(progressBar ui.ProgressBar) LsUserInterfaceOption

Jump to

Keyboard shortcuts

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