golab

command module
v0.0.0-...-69fc1b8 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

README

golab

A GitLab CLI tool bringing base on GitLab, for your XP Dev and Scrum Dev.

Usage

$ git clone https://github.com/esperyong/golab.git 
$ cd golab
$ go install
$ golab -h

配置两个环境变量:

GITLAB_TOKEN=xxx
GITLAB_BASE_URL=https://xxx.yourgitlabxxx.com/api/v4

也可以在执行golab命令的地方创建一个.env文件, 将上面的环境变量写在文件中即可. golab命令会自动加载文件中的设置到系统的环境变量中.

例子

  1. 打印某一个milestone的统计信息 需要提供group milestone的名称和所在的组ID
$ golab milestone stat -m Sprint-7 -g 5
  1. 打印某一个milestone的所有issue内容到pdf中,让我们可以用打印机打印相应的Issues
$ golab milestone printissue -m Sprint-7 -g 5

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