kyoh86 / gogh

GO GitHub project manager
MIT License
32 stars 0 forks source link

search github for repos and clone #34

Closed kyoh86 closed 5 years ago

kyoh86 commented 5 years ago

i.e.

$ gogh get gogh

It clones github.com/kyoh86/gogh.

introduce: https://github.com/motemen/ghq/issues/91

kyoh86 commented 5 years ago

I should that gogh could solve it.

kyoh86 commented 5 years ago

If we call gogh get foo, gogh get a repository from $GOGH_GITHUB_USER/gogh. Doesn't search repository from GitHub.

kyoh86 commented 5 years ago

hmm... Is it good feature? I think that I want to search repos with interactive fuzzy searching. gogh repos shows list of remote repositories. So we should use it as source, and search a repository by fuzzy-search (i.e. fzf) and clone it.

e.g.

function search-repos-and-get() {
    target=$(gogh repos | fzf)
    if [[ -n "$target" ]]; then
        gogh bulk-get
    fi
}
kyoh86 commented 5 years ago

I don't want to implement interactive fuzzy-search interface...