Git Product home page Git Product logo

golab's Introduction

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

golab's People

Contributors

esperyong avatar

Watchers

James Cloos avatar  avatar

golab's Issues

连接不上

2188 go/bin » ./golab milestone stat -m sre-sprint-8 -g 509
2022/08/16 09:46:43 Failed to list issue: Get "/api/v4/groups/509/issues?milestone=sre-sprint-8&page=1&per_page=1000": unsupported protocol scheme ""

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.