Skip to content

Latest commit

 

History

History
47 lines (35 loc) · 684 Bytes

README.md

File metadata and controls

47 lines (35 loc) · 684 Bytes

go-finder

GoDoc

CLI finder wrapper (fzf, peco, etc) for golang

Usage

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

Installation

$ go get -d github.com/b4b4r07/go-finder

License

MIT

Author

b4b4r07