Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bohde/lab
A command line interface to Gitlab
https://github.com/bohde/lab
gitlab gitlab-cli gitlab-client go
Last synced: about 1 month ago
JSON representation
A command line interface to Gitlab
- Host: GitHub
- URL: https://github.com/bohde/lab
- Owner: bohde
- License: bsd-3-clause
- Created: 2019-01-27T03:25:27.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-05-21T02:29:17.000Z (over 4 years ago)
- Last Synced: 2024-11-15T15:14:44.743Z (about 1 month ago)
- Topics: gitlab, gitlab-cli, gitlab-client, go
- Language: Go
- Homepage:
- Size: 33.2 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# lab
[![Build Status](https://travis-ci.org/joshbohde/lab.svg?branch=master)](https://travis-ci.org/joshbohde/lab)
[![GoDoc](https://godoc.org/github.com/joshbohde/lab?status.svg)](https://godoc.org/github.com/joshbohde/lab)`lab` is a command line interface to [Gitlab](https://gitlab.com).
## Installation
### Release
1. Download [the latest release](https://github.com/joshbohde/lab/releases/latest) for your platform.
2. Make it executable, e.g. `chmod +x lab_linux_amd64`
3. Put it somewhere on your path, e.g. `mv lab_linux_amd64 /usr/local/bin/lab`### From source
```
$ go get -u github.com/joshbohde/lab
$ go install github.com/joshbohde/lab/cmd/lab
```## Commands
### `auth`
Will configure access tokens for the current project, if none exist.
```
$ lab auth
```This will open your browser to your Gitlab access tokens page, for either https://gitlab.com, or your self-hosted instance. Create a new token with API scope, and paste it back into your terminal.
### `issue`
Opens an issue in the current project.
```
$ lab issue
```This will open your editor so that you can fill in the title and description of the issue.
Flags are available for command line scripting. To see a full list of available flags, run `lab issue --help`.
### `merge-request`
Opens a merge request from the current branch to the default branch.
```
$ lab merge-request
```This will open your editor so that you can fill in the title and description of the merge request.
Flags are available for command line scripting. To see a full list of available flags, run `lab merge-request --help`.