fzf

package
v0.0.0-...-373d3b7 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2025 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Fzf

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

func NewFzf

func NewFzf(opts ...FzfOption) *Fzf

func (*Fzf) Run

func (f *Fzf) Run(initialSearch string, items []string) (string, error)

type FzfOption

type FzfOption func(*Fzf)

func WithExactMatch

func WithExactMatch(exactMatch bool) FzfOption

func WithExec

func WithExec(exec exec.Interface) FzfOption

func WithIOStreams

func WithIOStreams(ioStreams genericiooptions.IOStreams) FzfOption

func WithSorted

func WithSorted(sorted bool) FzfOption

type Interface

type Interface interface {
	Run(initialSearch string, items []string) (string, error)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳