A cli tool with gitlab
- Fuzzy find your gitlab project, open or clone it, use
lab browser
orlab clone
. - Open the current gitlab repository in web browser, use
lab open [remote]
$ brew install ackerr/tap/lab
$ scoop bucket add ackerr https://github.com/Ackerr/scoop-bucket
$ scoop install ackerr/lab
$ go get -u "github.com/ackerr/lab"
- Set Environment
$ export GITLAB_BASE_URL=<GITLAB_BASE_URL>
$ export GITLAB_TOKEN=<GITLAB_TOKEN>
-
Sync gitlab projects, use
lab sync
-
Enjoy it,fuzzy find project like
lab browser
use
lab -h
to see more commands. I think you will like it. ( ̄︶ ̄)