Skip to content

felipeospina21/mrglab

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

72 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MR.G.Lab (mrglab)

mrglab is a TUI to manage merge requests in Gitlab from the command line.

Requirements

Install

go install github.com/felipeospina21/mrglab@latest

Config

config file is read from ~/.config/mrglab/mrglab.toml by default.

To access private repos, you will need to set an env variable with a gitlab personal access token. This can be set in your shell config file (to persist it) or in your terminal (for the session).

export MRGLAB_TOKEN="YOUR_GITLAB_TOKEN"

config properties

Option Description Default Example
base_url base api url https://gitlab.com
filters.projects list of project objects [ { name="Gitlab Cli", id="34675721", fullPath="gitlab-org/cli" } ]

project is an object with a name and id properties.

  • name - string is rendered in the project list view
  • id - string is the gitlab project id used to fetch selected project merge requests & issues
  • fullPath - string is the url path to the project after the base_url

config example

base_url = "https://gitlab.com"

[filters]
projects = [
	{ name = "Gitlab Cli", id = "34675721", fullPath = "gitlab-org/cli" },
]

Commands

mrglab

Disclaimer

The purpose of this project was to learn more about go and bubbletea. It is by no mean a full replacement of Gitlab UI (and it is not planned to be), but a complementary tool that would fit in some terminal workflows.

Inspiration

this project is inspired by tools like gh-dash.

About

Gitlab Merge Requests TUI

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published