CLI finder wrapper (fzf, peco, etc) for golang
Switch branches/tags
Nothing to show
Clone or download
Latest commit 81b460f Nov 14, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
_example Update example Nov 14, 2018
installer Implement Install method Sep 6, 2018
source Refactor the entire implementations in perspective of the delegation Sep 4, 2018
README.md Update README Sep 5, 2018
finder.go Accepts Items or []string in Select() Nov 14, 2018
fzf.go Implement Install method Sep 6, 2018
fzy.go Implement Install method Sep 6, 2018
peco.go Implement Install method Sep 6, 2018

README.md

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