GCLI-ISSUES(1) | General Commands Manual | GCLI-ISSUES(1) |
gcli issues
—
Manage issues in various git forges
gcli issues |
[-n n]
[-a ] [-s ]
[-A author]
[-L label]
[-M milestone]
[-o owner
-r repo]
[search-query] |
gcli issues |
-i issue
[-o owner
-r repo]
actions... |
gcli issues |
create [-o
owner -r
repo] [-y ] |
Use gcli issues
to search, list, create,
edit or delete issues in repositories in various git(1)
forges such as GitHub, GitLab and Gitea. Without any action specified,
gcli issues
will list issues in the given or
autodetected repository.
-s
,
--sorted
-o
,
--owner
owner-r
.-r
,
--repo
repo-o
.-a
-n
option.-A
,
--author
user-L
,
--label
label-M
,
--milestone
milestone-n
,
--count
n-i
,
--id
issuecreate
The following flags can be specified:
actions... may be one or more of the following:
all
comments
status
op
close
reopen
assign
assigneelabels
[options]milestone
idmilestone
-d
notes
comments
action that prints the list
of comments associated with the issue.title
new-titleattachments
Print a list of issues in the current project:
$ gcli issues
Search for issues containing “crash” in contour-terminal/contour on GitHub including closed issues:
$ gcli -t github issues -o contour-terminal -r contour -a crash
Report a new issue in the current project:
$ gcli issues create "summary here"
Print both a summary and comments of issue 1 in herrhotzenplotz/gcli:
$ gcli issues -o herrhotzenplotz -r gcli -i 1 status comments
Add the labels ‘foo’ and ‘bar’ to the issue with id 420:
$ gcli issues -i420 labels add foo add bar
List issues with the label “bug”:
$ gcli issues -L bug
Nico Sonack aka. herrhotzenplotz <nsonack@herrhotzenplotz.de> and contributors.
GitHub and Gitea treat Pull Requests as Issues. Due to the
semantics of gcli issues
those issues that are
actually PRs are dropped from the output. In this case a note will be
printed indicating how many issues were dropped. You can suppress this
warning using the -q
program option.
GitHub only supports removing labels from issues one by one. If you still want to remove multiple issues with a single gcli call, you may do something like:
$ gcli issues -i42 \ labels remove bug \ labels remove foo
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 |