lab

command module
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 29, 2020 License: MIT Imports: 1 Imported by: 0

README

Lab

CI Go Report Card release

A cli tool with gitlab

Feature

  1. Fuzzy find your gitlab project, open it in web browser, use lab browser.
  2. Open the current gitlab repository in web browser, use lab open [remote]
  3. Clone gitlab repository, set default user config and manage it like gopath style, use lab clone [-c]

use lab -h to see more useful commands.

Installation

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"

Usage

First, set the required environment variable

$ export GITLAB_BASE_URL=<GITLAB_BASE_URL>
$ export GITLAB_TOKEN=<GITLAB_TOKEN>

Then sync gitlab projects, use lab sync, then you can fuzzy find project use lab browser

Optional Env:
$ export GITLAB_CODESPACE=<path>
$ export GITLAB_USERNAME=<username>
$ export GITLAB_EMAIL=<email>

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL