{"id":34674643,"url":"https://github.com/cloudingcity/golab","last_synced_at":"2025-12-24T20:02:16.573Z","repository":{"id":104357569,"uuid":"211900658","full_name":"cloudingcity/golab","owner":"cloudingcity","description":":fox_face: A CLI tool for GitLab","archived":false,"fork":false,"pushed_at":"2023-02-25T04:40:20.000Z","size":211,"stargazers_count":16,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-14T13:25:19.208Z","etag":null,"topics":["cli","command-line-tool","gitlab","gitlab-api","golab","homebrew"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cloudingcity.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-09-30T16:08:04.000Z","updated_at":"2023-12-07T08:01:08.000Z","dependencies_parsed_at":null,"dependency_job_id":"5d4d56ff-81bf-44dc-a478-5678673b6fca","html_url":"https://github.com/cloudingcity/golab","commit_stats":null,"previous_names":[],"tags_count":17,"template":false,"template_full_name":null,"purl":"pkg:github/cloudingcity/golab","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudingcity%2Fgolab","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudingcity%2Fgolab/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudingcity%2Fgolab/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudingcity%2Fgolab/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cloudingcity","download_url":"https://codeload.github.com/cloudingcity/golab/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudingcity%2Fgolab/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28007451,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-12-24T02:00:07.193Z","response_time":83,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cli","command-line-tool","gitlab","gitlab-api","golab","homebrew"],"created_at":"2025-12-24T20:01:00.609Z","updated_at":"2025-12-24T20:02:16.560Z","avatar_url":"https://github.com/cloudingcity.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Golab\n\n[![Build Status](https://travis-ci.com/cloudingcity/golab.svg?branch=master)](https://travis-ci.com/cloudingcity/golab)\n[![codecov](https://codecov.io/gh/cloudingcity/golab/branch/master/graph/badge.svg)](https://codecov.io/gh/cloudingcity/golab)\n[![Go Report Card](https://goreportcard.com/badge/github.com/cloudingcity/golab)](https://goreportcard.com/report/github.com/cloudingcity/golab)\n[![Go Doc](https://img.shields.io/badge/godoc-reference-blue.svg?style=flat)](http://godoc.org/github.com/cloudingcity/golab)\n\n`golab` is a command line tool that make working with GitLab easier.\n\n## Features\n\n- Easy to configure gitlab settings\n- Show all merge requests that created by you or assigned to you\n- Open page in default browser\n- Shows project which depend on a certain package (Golang: `go.mod`, PHP: `composer.json`)\n- Lint `.gtilab-ci.yml`\n\n## Installation\n\n### Homebrew\n\n```shell script\nbrew install cloudingcity/tap/golab\n```\n\n### Binary\n\nDownload the pre-built binaries from the [Releases](https://github.com/cloudingcity/golab/releases) page. Extract them, move it to your `$PATH`.\n\n```shell script\ncurl -OL https://github.com/cloudingcity/golab/releases/download/v0.6.1/golab_0.6.1_Linux_x86_64.tar.gz\ntar -xzvf golab_0.6.1_Linux_x86_64.tar.gz\nmv golab /usr/local/bin/golab\ngolab version\n```\n\n### Source\n\n```shell script\ngit clone git@github.com:cloudingcity/golab.git\ncd golab\nmake install\n```\n\n## Command Usage\n\n```\nA CLI tool for gitlab\n\nUsage:\n  golab [command]\n\nAvailable Commands:\n  ci          Manage gitlab ci\n  clone       Clone a repository from GitLab\n  config      Init or list golab CLI options\n  depend      Shows project which depend on a certain package\n  mr          Manage merge requests\n  own         Manage own resources\n  project     Manage projects\n  version     Print version number of golab\n\nFlags:\n  -h, --help   help for golab\n\nUse \"golab [command] --help\" for more information about a command.\n```\n\n### Initial config\n\n```shell script\n$ golab config init                                                                                                    master ↓ 1 ↑ 1 ✚ 1 \nGitlab Host [https://gitlab.com]: \u003cINPUT\u003e\nCreate a token here: https://gitlab.com/profile/personal_access_tokens\nGitlab Token (scope: api) [None]: \u003cINPUT\u003e\n\nConfig saved to /Users/\u003cUSER\u003e/.config/golab.yaml\n```\n\n### Clone repository from GitLab\n```shell script\n$ golab clone pokemon/eevee\n# git clone git@gitlab.com:pokemon/eevee.git\n```\n\n### Create a merge request\n\n1. Push local branch to remote repository\n2. Opening merge request page in browser\n\n```shell script\n$ golab mr create\nBranch 'foo' set up to track remote branch 'foo' from 'origin'.\n\nOpening https://example.com/pokemon/trainer/merge_requests/new?merge_request%5Bsource_branch%5D=foo in your browser\n```\n\n### Show current repository merge requests\n```shell script\n$ golab mr list\n  MRID   TITLE                        URL                                                                   \n  1      Catch your first Pokémon     https://example.com/pokemon/trainer/merge_requests/1  \n  2      To become a Pokémon Master   https://example.com/pokemon/trainer/merge_requests/2  \n```\n\n### Show all merge requests that assigned to you\n```shell script\n$ golab own mr list --review\n  PID    MRID   PROJECT           TITLE                        URL                                                                   \n  4255   1      pokemon/trainer   Catch your first Pokémon     https://example.com/pokemon/trainer/merge_requests/1  \n  4255   2      pokemon/trainer   To become a Pokémon Master   https://example.com/pokemon/trainer/merge_requests/2  \n```\n\n### Open merge requests page in browser\n```shell script\n$ golab mr open \u003cMR-ID\u003e\n```\n\n### Show `pokemon/eevee` [composer](https://getcomposer.org/) package which project depend on\n```shell script\n$ golab depend php pokemon/eevee --group pokemon\n  PROJECT    VERSION   BRANCH    URL\n  vaporeon   v0.1.2    master    https://example.com/pokemon/vaporeon\n  jolteon    v1.2.0    staging   https://example.com/pokemon/jolteon\n  flareon    v3.0.0    staging   https://example.com/pokemon/flareon\n```\n\n### Show `example.com/pokemon/eevee` [go modules](https://github.com/golang/go/wiki/Modules) which project depend on\n```shell script\n$ golab depend go example.com/pokemon/eevee --group pokemon\n  PROJECT    VERSION   BRANCH    URL\n  vaporeon   v0.1.2    master    https://example.com/pokemon/vaporeon\n  jolteon    v1.2.0    staging   https://example.com/pokemon/jolteon\n  flareon    v3.0.0    staging   https://example.com/pokemon/flareon\n```\n\n### Check `.gitlab-ci.yml` is valid\n\n```shell script\n$ golab ci lint .gitlab-ci.yml\nValid!\n```\n\n## Development\n\n### Running gitlab on a container\n\n```shell script\ndocker-compose up -d\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcloudingcity%2Fgolab","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcloudingcity%2Fgolab","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcloudingcity%2Fgolab/lists"}