lab
lab copied to clipboard
A command-line tool for gitlab
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
lab ci (Beta) View the pipeline jobs trace log, default view running job
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
andtoken
. The way to get gitlab token, see this