Skip to content

babarot/go-finder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages