GCLI-LABELS(1) | General Commands Manual | GCLI-LABELS(1) |
gcli labels
—
Manage 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 |
delete [-o
owner -r
repo]
name or id |
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 autodetected repository.
create
The following flags must be specified:
-n
,
--name
name-d
,
--description
description-c
,
--colour
codedelete
There are no flags for this subcommand.
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 delete -o herrhotzenplotz -r gcli foobar
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 ~herrhotzenplotz/gcli-discuss@lists.sr.ht.
Alternatively you can report them on any of the forges linked at https://herrhotzenplotz.de/gcli. However, the preferred and quickest method is to use the mailing list.
2024-Feb-05 | gcli 2.2.0 |