A fuzzy finder command line tool for gitlab. 中文文档
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
.
$ 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"
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
andtoken
. The way to get gitlab token, see this