cli

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2026 License: MIT Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute(version, commit string) error

func NewRootCmd

func NewRootCmd(version, commit string) *cobra.Command

Types

type Picker

type Picker struct {
	Input    io.Reader
	Output   io.Writer
	ErrOut   io.Writer
	LookPath func(file string) (string, error)
	RunFZF   func(path string, names []string, stderr io.Writer) (string, error)
}

func NewPicker

func NewPicker(in io.Reader, out, errOut io.Writer) *Picker

func (*Picker) Select

func (p *Picker) Select(names []string) (string, error)

Jump to

Keyboard shortcuts

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