An open API service indexing awesome lists of open source software.

https://github.com/andtechstudios/ticket

GitLab issues CLI
https://github.com/andtechstudios/ticket

Last synced: about 1 year ago
JSON representation

GitLab issues CLI

Awesome Lists containing this project

README

          

# Setup

## Per-host Setup
1. Create `~/.config/ticket.yml` with the following contents:

```
hosts:
- hostname: gitlab.com
access_token: glpat-xxxxxx
- hostname: gitlab.example.com
access_token: yyyyyy
- hostname: gitlab.example.org
access_token: zzzzzz
```

> Create a personal access token [here](https://gitlab.com/-/profile/personal_access_tokens?scopes=api). Ticket requires at least the `api` scope.

## Per-repository Setup
1. Run `ticket init`. Run the git commands generated by `init`.

# Usage
```shell
# Initialize repository for Ticket
$ ticket init

# Create new issues
$ ticket create
> call saul
# Create issue with description
> call saul: get phone number from jesse
# Create issue with assignee
> call saul @jpinkman
# Create issue with labels
> call saul #feature #backlog

# Assign issue to yourself
$ ticket assign 456 me
# Assign issue to yourself (shorthand)
$ ticket assign 456
# Assign issue to user
$ ticket assign 456 swhite

# Remove assignees from issue
$ ticket unassign 456

# Close issue
$ ticket close 456

# List issues assigned to you
$ ticket list 456
# List issues
$ ticket list 456 -a
```