CLI finder wrapper (fzf, peco, etc) for golang
fzf, err := finder.New("fzf", "--reverse", "--height", "40")
if err != nil {
panic(err)
}
fzf.Run()
peco, err := finder.New("peco")
if err != nil {
panic(err)
}
peco.Run()
cli, err := finder.New()
if err != nil {
panic(err)
}
// If no argument is given to finder.New()
// it scans available finder command (fzf,fzy,peco,etc) from your PATH
$ go get -d github.com/b4b4r07/go-finder
MIT
b4b4r07