jhaals / srcpath

Automatically structures your git checkouts, go style :star:

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

srcpath

srcpath provides go import style folder structure to your git clones

gclone https://github.com/jhaals/yopass places the checkout in ~/src/github.com/jhaals/yopass

Install

Run go build -o srcpath. Put it in your $PATH.

Add function .bashrc/.zshrc

function gclone {
    git clone $1 $(srcpath $1)
}

You can set your own base checkout folder with -src

About

Automatically structures your git checkouts, go style :star:


Languages

Language:Go 100.0%