Registry / cli / ktr0731-go-fuzzyfinder

ktr0731-go-fuzzyfinder

JSON →
library0.9.0gogounverified

Provides terminal user interfaces for fuzzy-finding items, enabling interactive selection in CLI applications.

go get github.com/ktr0731/go-fuzzyfinder
INSTALL
IMPORT
SIG · KTR0731-GO-FUZZYFI
K
ktr0731-go-fuzzyfinder
cligov0.9.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

fuzzyfinder
github.com/ktr0731/go-fuzzyfinder

Opens a fuzzy finder for a list of strings and prints the selected index.

package main import ( "fmt" "github.com/ktr0731/go-fuzzyfinder" ) func main() { idx, _ := fuzzyfinder.Find([]string{"apple", "banana", "cherry"}, func(i int) string { return []string{"apple", "banana", "cherry"}[i] }) fmt.Println(idx) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.9.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
21 hits · last 30 days
node
20
OpenAI (training)
1
Resources