lighttiger2505 / Lab

Licence: mit
lab is a cli client of gitlab like hub

Programming Languages

go
31211 projects - #10 most used programming language
golang
3204 projects

Projects that are alternatives of or similar to Lab

Lab
Lab wraps Git or Hub, making it simple to clone, fork, and interact with repositories on GitLab
Stars: ✭ 911 (+869.15%)
Mutual labels:  cli, gitlab-ci, gitlab
Release It
🚀 Automate versioning and package publishing
Stars: ✭ 4,773 (+4977.66%)
Mutual labels:  cli, gitlab
Crane
⬆ A GitLab CI ready image to upgrade services in Rancher
Stars: ✭ 90 (-4.26%)
Mutual labels:  gitlab-ci, gitlab
Git Repo
Git-Repo: CLI utility to manage git services from your workspace
Stars: ✭ 818 (+770.21%)
Mutual labels:  cli, gitlab
gitlab-ci-discord-webhook
⛓ Here's your serverless solution for sending build status from GitLab CI to Discord as webhooks.
Stars: ✭ 32 (-65.96%)
Mutual labels:  gitlab, gitlab-ci
Reviewdog
🐶 Automated code review tool integrated with any code analysis tools regardless of programming language
Stars: ✭ 4,541 (+4730.85%)
Mutual labels:  cli, gitlab
Glci
🦊 Test your Gitlab CI Pipelines changes locally using Docker.
Stars: ✭ 471 (+401.06%)
Mutual labels:  gitlab-ci, gitlab
godot-ci
Docker image to export Godot Engine games. Templates for Gitlab CI and GitHub Actions to deploy to GitLab Pages/GitHub Pages/Itch.io.
Stars: ✭ 316 (+236.17%)
Mutual labels:  gitlab, gitlab-ci
Kdtool
Kubernetes deployment utility
Stars: ✭ 47 (-50%)
Mutual labels:  gitlab-ci, gitlab
Git Req
Check out merge requests from your GitLab/GitHub hosted repositories from the command line with just the request number.
Stars: ✭ 50 (-46.81%)
Mutual labels:  cli, gitlab
Kira
🐿 Project management framework with deep philosophy underneath
Stars: ✭ 61 (-35.11%)
Mutual labels:  gitlab-ci, gitlab
gitlab-setup
A Packer / Terraform / Ansible configuration to install Gitlab and Gitlab-CI
Stars: ✭ 53 (-43.62%)
Mutual labels:  gitlab, gitlab-ci
gitlab-job-log-viewer
Browser extension for code highlighting raw logs in Gitlab CI
Stars: ✭ 21 (-77.66%)
Mutual labels:  gitlab, gitlab-ci
Gitlab Time Tracker
🦊🕘 A command line interface for GitLab's time tracking feature.
Stars: ✭ 371 (+294.68%)
Mutual labels:  cli, gitlab
gitlab-runner
GitLab Runner (Docker image) for ARM devices, this is a mirror repository of
Stars: ✭ 17 (-81.91%)
Mutual labels:  gitlab, gitlab-ci
Gitlab Ci Pipeline Php
☕️ Docker images for test PHP applications with Gitlab CI (or any other CI platform!)
Stars: ✭ 451 (+379.79%)
Mutual labels:  gitlab-ci, gitlab
godot-cpp-ci
Docker image and Github Actions to automatically compile Godot C++ GDNative libraries.
Stars: ✭ 21 (-77.66%)
Mutual labels:  gitlab, gitlab-ci
gitlab-chart
Kubernetes Helm chart to deploy GitLab
Stars: ✭ 59 (-37.23%)
Mutual labels:  gitlab, gitlab-ci
Gitlab Ci Dashboard
📊 Dashboard for monitoring GitLab CI builds and pipelines for TV
Stars: ✭ 79 (-15.96%)
Mutual labels:  gitlab-ci, gitlab
Glab
An open-source GitLab command line tool bringing GitLab's cool features to your command line
Stars: ✭ 1,126 (+1097.87%)
Mutual labels:  cli, gitlab

lab

Build Status Coverage Status

lab is a cli client of gitlab like hub.

Installation

Go developer

Please getting source code and build.

go get github.com/lighttiger2505/lab
make ensure
make install

Binary download

Please run the install script:

curl -s https://raw.githubusercontent.com/lighttiger2505/lab/master/install.sh | bash

The script installs the lab command in /usr/local/bin. For more details, see the install.sh source code.

Features

Usage: lab [--version] [--help] <command> [<args>]

Available commands are:
    browse                    Browse project page
    issue                     Create and Edit, list a issue
    issue-template            List issue template
    job                       List job
    lint                      validate .gitlab-ci.yml
    merge-request             Create and Edit, list a merge request
    merge-request-template    List merge request template
    mr                        Create and Edit, list a merge request
    pipeline                  List pipeline, List pipeline jobs
    project                   List project
    project-variable          List project level variables
    runner                    List CI/CD Runner
    user                      List user

Usage

  1. change directory gitlab repository
    • lab command accesses gitlab quickly by useing repository infomation
    $ cd {gitlab repository}
    
  2. launch lab command
    $ lab issue
    
  3. please input personal access token
    • use the lab command you need Personal access take look here(https://docs.gitlab.com/ee/user/profile/personal_access_tokens.html#creating-a-personal-access-token)
    Please input GitLab private token : {your token}
    

Feature

Browse

Open gitlab pages on brwoser.

# Browse project page
$ lab browse

# Browse project file
$ lab browse ./README.md

# Browse sub page
$ lab browse -s issues

Operations to Issue and Merge Request

Many operations can be done with simple input.

# List issue
lab issue

# Browse issue
lab issue -b {issue ii}

# Show issue
lab issue {issue id}

# Create issue
lab issue -e

# Update issue
lab issue {issue id} -e

Configuration

auto create configuration file ~/.config/lab/config.yml when launch lab command

Sample

default_profile: gitlab.com
profiles:
  gitlab.com:
    token: ********************
    default_group: hoge
    default_project: hoge/soge
    default_assignee_id: 123
  gitlab.ssl.foo.jp:
    token: ******************** 
    default_group: foo
    default_project: foo/bar
    default_assignee_id: 456

ToDos

  • variable command
    • [x] Project-level Variables
    • [ ] Group-level Variables
  • use template
    • [x] issue template
    • [x] merge request template
  • [ ] pipeline actions
    • [ ] cancel
    • [ ] retry
  • [ ] label command
  • [x] project-member command
  • workflow automation command
    • [ ] create
      • create new project and cloning repository
    • [ ] fork
      • create fork project and cloning repository
    • [ ] flow
      • create issue and create WIP: merge request

Similar tool

There are similar tools. If you prefer modern style commands like docker. This tool may be better.

Note: This tool and lighttiger2505/lab are completely different tools

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].