Skip to content

ackerr/lab

Repository files navigation

Lab

CI Go Report Card release

ackerr/lab

A fuzzy finder command line tool for gitlab. 中文文档

Feature

lab sync        Sync gitlab projects
lab browser     Fuzzy find gitlab repo and open it in $BROWSER
lab clone       Fuzzy find gitlab repo and clone it
lab cs          Fuzzy find repo in your codespace
lab lint        Check .gitlab-ci.yml syntax
lab open        Open the current repo remote in $BROWSER
lab config      Use $EDITOR open config file, support custom config path, use --config filepath

For more information, please use lab help.

Install

homebrew

$ brew install ackerr/tap/lab

scoop

$ scoop bucket add ackerr https://github.com/Ackerr/scoop-bucket
$ scoop install ackerr/lab

go get

$ go get -u "github.com/ackerr/lab"

Configure

Recommend use lab config to edit config file (~/.config/lab/config.toml), this command will open the config file use $EDITOR. If the file don't exist, it will auto generate by config template.

Two variables are required, base_url and token. The way to get gitlab token, see this