GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
GCLI-LABELS(1) FreeBSD General Commands Manual GCLI-LABELS(1)

gcli labelsManage ticket labels in git forges

gcli labels [-o owner -r repo]

gcli labels create [-o owner -r repo] -d description -n name -c colour

gcli labels [-o owner -r repo] -i name actions...

Use gcli labels to list, create, edit or delete labels for Pull Requests/Merge Requests and issues in repositories in various git forges such as GitHub, GitLab and Gitea. Without any action specified, gcli labels will list all defined labels in the given or auto-detected repository.

, --owner owner
Work in the repository of the given owner. This option can only be used in combination with -r.
, --repo repo
Work in the given repository. This option can only be used in combination with -o.
, --name name
Execute actions on the label identified by name.

Create a new label in the given or auto-detected repository.

The following flags must be specified:

, --name name
Set the short name of the label to the given name.
, --description description
Set the description of the label to the given text. Note that on GitHub this field may only consist of up to 150 characters.
, --colour code
Set the colour of the label to the given code. code is expected to be a 6 digit hexadecimal RGB colour code.

When given a specific label with -i you can execute one or more of the following actions:

Print a short summary about the label.
new-name
Change the name of the to the given new-name.
new-description
Change the description of the label to new-description. You should wrap the description in quotes in case it contains spaces.
hexcolour
Change the colour of the label to the six-digit hexadecmial RGB colour code hexcolour.
Delete the given label.

Print a list of all labels in the current project:

$ gcli labels

Create a new label called ‘bug’ with a description ‘Something is not working as expected’ and give it a red colour:

$ gcli labels create \
		--name bug \
		--description "Something is not working as expected" \
		--colour FF0000

Delete the label ‘foobar’ in herrhotzenplotz/gcli and use the configured account ‘gitlab’:

$ gcli -a gitlab labels -o herrhotzenplotz -r gcli -i foobar delete

git(1), gcli(1)

Nico Sonack aka. herrhotzenplotz <nsonack@herrhotzenplotz.de> and contributors.

The delete subcommand should ask for confirmation and have a flag to override this behaviour.

Please report bugs via E-Mail to https://lists.sr.ht/~herrhotzenplotz/gcli-discuss.

Alternatively you can report them on any of the forges linked at https://sr.ht/~herrhotzenplotz/gcli. However, the preferred and quickest method is to use the mailing list.

25-May-2025 gcli 2.8.0

Search for    or go to Top of page |  Section 1 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.