poi

command module
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 14, 2020 License: MIT Imports: 9 Imported by: 0

README

poi

poi provides to get your project directories command-line tool.

This tool is inspired ghq. Only access function to the project directory!!

Description

poi standard output the projects(git project) from specified directory path by poi.yml.

# projects - you can specify the directories had projects managed by git.
projects:
  - ~/AndroidStudioProjects
  - ~/IdeaProjects
  - ~/source
  - ~/go/src

poi

If you have use fuzzy-finder command (like fzf or peco), you can access the project quickly.

poi with fzf

Installation

go get github.com/yasukotelin/poi

Second, you shoud be put a ~/.config/poi/poi.yml setting file.

# projects - you can specify the directories had projects managed by git.
projects:
  - ~/AndroidStudioProjects
  - ~/IdeaProjects
  - ~/source
  - ~/go/src

# others - you can specify the non project directories that are printed as is.
others:
  - ~/.config/nvim
  - ~/.config/poi

projects: is target the root directory path to search projects. poi will find the git project. And standard output them.

others: is target the non project directories that are printed as is. If you want to include non project directory in your result, specify this.

Usage

poi command standard output the projects simply.

With fzf(peco)

If poi is used with fuzzy-finder command, it to be very very useful.

Jump to project directory selected with fzf!

cd "$(poi | fzf)"

If you create a alias and use it, so fast access!!

alias poipoi='cd "$(poi | fzf)"'

and you can use poipoi command.

poipoi

Author

yasukotelin

Licence

MIT Licence

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL